Package com.soffid.iam.base.service
Interface ServerPluginService
public interface ServerPluginService
Service ServerPluginService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoiddeletePlugin(ServerPlugin plugin) Operation deletePluginbooleandeployPlugin(byte[] i) Operation deployPlugin Returns true if the console must be restartedvoidenablePlugin(ServerPlugin plugin, boolean status) Operation enablePluginOperation findAgentDescriptorWorkflowsgetAgentDescriptor(String className) Operation getAgentDescriptorOperation getAgentDescriptorsOperation getAllAgentDescriptorsInfoOperation getPluginAgentDescriptorsOperation getServerVersionOperation listServerPluginsvoidupdatePlugin(byte[] i) Operation updatePlugin Only deploys if it's a newer versionvoidupdatePlugin(ServerPlugin plugin) Operation updatePluginvoidupdatePlugin(File f) Operation updatePlugin Only deploys if it's a newer version
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
deployPlugin
boolean deployPlugin(byte[] i) throws InternalErrorException, InternalErrorException, DuplicatedClassException Operation deployPlugin Returns true if the console must be restarted- Parameters:
i-- Returns:
- Throws:
InternalErrorExceptionInternalErrorExceptionDuplicatedClassException
-
getAgentDescriptor
AgentDescriptor getAgentDescriptor(String className) throws InternalErrorException, InternalErrorException Operation getAgentDescriptor- Parameters:
className-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getServerVersion
Operation getServerVersion- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findAgentDescriptorWorkflows
Collection<AgentDescriptorWorkflow> findAgentDescriptorWorkflows(AgentDescriptor agent) throws InternalErrorException Operation findAgentDescriptorWorkflows- Parameters:
agent-- Returns:
- Throws:
InternalErrorException
-
getAgentDescriptors
Collection<AgentDescriptor> getAgentDescriptors() throws InternalErrorException, InternalErrorExceptionOperation getAgentDescriptors- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getAllAgentDescriptorsInfo
Collection<AgentDescriptor> getAllAgentDescriptorsInfo() throws InternalErrorException, InternalErrorExceptionOperation getAllAgentDescriptorsInfo- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getPluginAgentDescriptors
Collection<AgentDescriptor> getPluginAgentDescriptors(ServerPlugin plugin) throws InternalErrorException, InternalErrorException Operation getPluginAgentDescriptors- Parameters:
plugin-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
listServerPlugins
Operation listServerPlugins- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
deletePlugin
Operation deletePlugin- Parameters:
plugin-- Throws:
InternalErrorExceptionInternalErrorException
-
enablePlugin
void enablePlugin(ServerPlugin plugin, boolean status) throws InternalErrorException, InternalErrorException Operation enablePlugin- Parameters:
plugin-status-- Throws:
InternalErrorExceptionInternalErrorException
-
updatePlugin
void updatePlugin(byte[] i) throws InternalErrorException, InternalErrorException, DuplicatedClassException Operation updatePlugin Only deploys if it's a newer version- Parameters:
i-- Throws:
InternalErrorExceptionInternalErrorExceptionDuplicatedClassException
-
updatePlugin
Operation updatePlugin- Parameters:
plugin-- Throws:
InternalErrorExceptionInternalErrorException
-
updatePlugin
void updatePlugin(File f) throws InternalErrorException, InternalErrorException, DuplicatedClassException Operation updatePlugin Only deploys if it's a newer version- Parameters:
f-- Throws:
InternalErrorExceptionInternalErrorExceptionDuplicatedClassException
-