Package com.soffid.iam.service
Interface ServerPluginService
-
public interface ServerPluginService
Service ServerPluginService
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deletePlugin(ServerPlugin plugin)
Operation deletePluginvoid
deployPlugin(byte[] i)
Operation deployPluginvoid
enablePlugin(ServerPlugin plugin, boolean status)
Operation enablePluginCollection<AgentDescriptorWorkflow>
findAgentDescriptorWorkflows(AgentDescriptor agent)
Operation findAgentDescriptorWorkflowsAgentDescriptor
getAgentDescriptor(String className)
Operation getAgentDescriptorCollection<AgentDescriptor>
getAgentDescriptors()
Operation getAgentDescriptorsCollection<AgentDescriptor>
getAllAgentDescriptorsInfo()
Operation getAllAgentDescriptorsInfoCollection<AgentDescriptor>
getPluginAgentDescriptors(ServerPlugin plugin)
Operation getPluginAgentDescriptorsString
getServerVersion()
Operation getServerVersionCollection<ServerPlugin>
listServerPlugins()
Operation listServerPluginsvoid
updatePlugin(byte[] i)
Operation updatePlugin Only deploys if it's a newer versionvoid
updatePlugin(ServerPlugin plugin)
Operation updatePlugin
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAgentDescriptor
AgentDescriptor getAgentDescriptor(String className) throws InternalErrorException, InternalErrorException
Operation getAgentDescriptor- Parameters:
className
-- Returns:
- Throws:
InternalErrorException
-
getServerVersion
String getServerVersion() throws InternalErrorException, InternalErrorException
Operation getServerVersion- Returns:
- Throws:
InternalErrorException
-
findAgentDescriptorWorkflows
Collection<AgentDescriptorWorkflow> findAgentDescriptorWorkflows(AgentDescriptor agent) throws InternalErrorException
Operation findAgentDescriptorWorkflows- Parameters:
agent
-- Returns:
- Throws:
InternalErrorException
-
getAgentDescriptors
Collection<AgentDescriptor> getAgentDescriptors() throws InternalErrorException, InternalErrorException
Operation getAgentDescriptors- Returns:
- Throws:
InternalErrorException
-
getAllAgentDescriptorsInfo
Collection<AgentDescriptor> getAllAgentDescriptorsInfo() throws InternalErrorException, InternalErrorException
Operation getAllAgentDescriptorsInfo- Returns:
- Throws:
InternalErrorException
-
getPluginAgentDescriptors
Collection<AgentDescriptor> getPluginAgentDescriptors(ServerPlugin plugin) throws InternalErrorException, InternalErrorException
Operation getPluginAgentDescriptors- Parameters:
plugin
-- Returns:
- Throws:
InternalErrorException
-
listServerPlugins
Collection<ServerPlugin> listServerPlugins() throws InternalErrorException, InternalErrorException
Operation listServerPlugins- Returns:
- Throws:
InternalErrorException
-
deletePlugin
void deletePlugin(ServerPlugin plugin) throws InternalErrorException, InternalErrorException
Operation deletePlugin- Parameters:
plugin
-- Throws:
InternalErrorException
-
deployPlugin
void deployPlugin(byte[] i) throws InternalErrorException, InternalErrorException, DuplicatedClassException
Operation deployPlugin- Parameters:
i
-- Throws:
InternalErrorException
DuplicatedClassException
-
enablePlugin
void enablePlugin(ServerPlugin plugin, boolean status) throws InternalErrorException, InternalErrorException
Operation enablePlugin- Parameters:
plugin
-status
-- Throws:
InternalErrorException
-
updatePlugin
void updatePlugin(byte[] i) throws InternalErrorException, InternalErrorException, DuplicatedClassException
Operation updatePlugin Only deploys if it's a newer version- Parameters:
i
-- Throws:
InternalErrorException
DuplicatedClassException
-
updatePlugin
void updatePlugin(ServerPlugin plugin) throws InternalErrorException, InternalErrorException
Operation updatePlugin- Parameters:
plugin
-- Throws:
InternalErrorException
-
-