Package es.caib.seycon.ng.servei
Interface ServerPluginService
-
public interface ServerPluginServiceService ServerPluginService
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeletePlugin(ServerPlugin plugin)Operation deletePluginvoiddeployPlugin(byte[] i)Operation deployPluginvoidenablePlugin(ServerPlugin plugin, boolean status)Operation enablePluginCollection<AgentDescriptorWorkflow>findAgentDescriptorWorkflows(AgentDescriptor agent)Operation findAgentDescriptorWorkflowsAgentDescriptorgetAgentDescriptor(String className)Operation getAgentDescriptorCollection<AgentDescriptor>getAgentDescriptors()Operation getAgentDescriptorsCollection<AgentDescriptor>getAllAgentDescriptorsInfo()Operation getAllAgentDescriptorsInfoCollection<AgentDescriptor>getPluginAgentDescriptors(ServerPlugin plugin)Operation getPluginAgentDescriptorsStringgetServerVersion()Operation getServerVersionCollection<ServerPlugin>listServerPlugins()Operation listServerPluginsvoidupdatePlugin(byte[] i)Operation updatePlugin Only deploys if it's a newer versionvoidupdatePlugin(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, DuplicatedClassExceptionOperation deployPlugin- Parameters:
i-- Throws:
InternalErrorExceptionDuplicatedClassException
-
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, DuplicatedClassExceptionOperation updatePlugin Only deploys if it's a newer version- Parameters:
i-- Throws:
InternalErrorExceptionDuplicatedClassException
-
updatePlugin
void updatePlugin(ServerPlugin plugin) throws InternalErrorException, InternalErrorException
Operation updatePlugin- Parameters:
plugin-- Throws:
InternalErrorException
-
-