Package com.soffid.iam.service.ejb
Class ServerPluginServiceBean
- java.lang.Object
-
- org.springframework.ejb.support.AbstractStatelessSessionBean
-
- com.soffid.iam.service.ejb.ServerPluginServiceBean
-
- All Implemented Interfaces:
com.soffid.iam.service.ejb.ServerPluginService
,Serializable
,javax.ejb.EnterpriseBean
,javax.ejb.SessionBean
,org.springframework.ejb.support.SmartSessionBean
public class ServerPluginServiceBean extends org.springframework.ejb.support.AbstractStatelessSessionBean implements com.soffid.iam.service.ejb.ServerPluginService
- See Also:
com.soffid.iam.service.ServerPluginService
,,es.caib.seycon.ng.servei.ServerPluginService
,, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
-
Constructor Summary
Constructors Constructor Description ServerPluginServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deletePlugin(com.soffid.iam.api.ServerPlugin plugin)
void
deployPlugin(byte[] i)
void
ejbCreate()
Initizlizes beenvoid
ejbRemove()
void
enablePlugin(com.soffid.iam.api.ServerPlugin plugin, boolean status)
Collection<com.soffid.iam.api.AgentDescriptorWorkflow>
findAgentDescriptorWorkflows(com.soffid.iam.api.AgentDescriptor agent)
com.soffid.iam.api.AgentDescriptor
getAgentDescriptor(String className)
Collection<com.soffid.iam.api.AgentDescriptor>
getAgentDescriptors()
Collection<com.soffid.iam.api.AgentDescriptor>
getAllAgentDescriptorsInfo()
protected org.springframework.beans.factory.BeanFactory
getBeanFactory()
Collection<com.soffid.iam.api.AgentDescriptor>
getPluginAgentDescriptors(com.soffid.iam.api.ServerPlugin plugin)
String
getServerVersion()
javax.ejb.SessionContext
getSessionContext()
Collection<com.soffid.iam.api.ServerPlugin>
listServerPlugins()
protected void
onEjbCreate()
protected void
onEjbRemove()
void
setBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
void
setBeanFactoryLocatorKey(String arg0)
void
setSessionContext(javax.ejb.SessionContext sessionContext)
Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.void
updatePlugin(com.soffid.iam.api.ServerPlugin plugin)
-
Methods inherited from class org.springframework.ejb.support.AbstractStatelessSessionBean
ejbActivate, ejbPassivate
-
-
-
-
Field Detail
-
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
public static final String BEAN_FACTORY_PATH_ENVIRONMENT_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAgentDescriptor
@PermitAll public com.soffid.iam.api.AgentDescriptor getAgentDescriptor(String className) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getAgentDescriptor
in interfacecom.soffid.iam.service.ejb.ServerPluginService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getServerVersion
@PermitAll public String getServerVersion() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getServerVersion
in interfacecom.soffid.iam.service.ejb.ServerPluginService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAgentDescriptorWorkflows
@PermitAll public Collection<com.soffid.iam.api.AgentDescriptorWorkflow> findAgentDescriptorWorkflows(com.soffid.iam.api.AgentDescriptor agent) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAgentDescriptorWorkflows
in interfacecom.soffid.iam.service.ejb.ServerPluginService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getAgentDescriptors
@PermitAll public Collection<com.soffid.iam.api.AgentDescriptor> getAgentDescriptors() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getAgentDescriptors
in interfacecom.soffid.iam.service.ejb.ServerPluginService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getAllAgentDescriptorsInfo
@PermitAll public Collection<com.soffid.iam.api.AgentDescriptor> getAllAgentDescriptorsInfo() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getAllAgentDescriptorsInfo
in interfacecom.soffid.iam.service.ejb.ServerPluginService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getPluginAgentDescriptors
@PermitAll public Collection<com.soffid.iam.api.AgentDescriptor> getPluginAgentDescriptors(com.soffid.iam.api.ServerPlugin plugin) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getPluginAgentDescriptors
in interfacecom.soffid.iam.service.ejb.ServerPluginService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
listServerPlugins
@PermitAll public Collection<com.soffid.iam.api.ServerPlugin> listServerPlugins() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
listServerPlugins
in interfacecom.soffid.iam.service.ejb.ServerPluginService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
deletePlugin
@PermitAll public void deletePlugin(com.soffid.iam.api.ServerPlugin plugin) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
deletePlugin
in interfacecom.soffid.iam.service.ejb.ServerPluginService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
deployPlugin
@PermitAll public void deployPlugin(byte[] i) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, com.soffid.iam.exception.DuplicatedClassException
- Specified by:
deployPlugin
in interfacecom.soffid.iam.service.ejb.ServerPluginService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
com.soffid.iam.exception.DuplicatedClassException
-
enablePlugin
@PermitAll public void enablePlugin(com.soffid.iam.api.ServerPlugin plugin, boolean status) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
enablePlugin
in interfacecom.soffid.iam.service.ejb.ServerPluginService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
updatePlugin
@PermitAll public void updatePlugin(com.soffid.iam.api.ServerPlugin plugin) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updatePlugin
in interfacecom.soffid.iam.service.ejb.ServerPluginService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
ejbCreate
@PostConstruct public void ejbCreate() throws javax.ejb.CreateException
Initizlizes been- Overrides:
ejbCreate
in classorg.springframework.ejb.support.AbstractStatelessSessionBean
- Throws:
javax.ejb.CreateException
- See Also:
AbstractStatelessSessionBean.onEjbCreate()
-
onEjbCreate
protected void onEjbCreate()
- Specified by:
onEjbCreate
in classorg.springframework.ejb.support.AbstractStatelessSessionBean
-
setSessionContext
public void setSessionContext(javax.ejb.SessionContext sessionContext)
Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.- Specified by:
setSessionContext
in interfacejavax.ejb.SessionBean
- See Also:
SessionBean.setSessionContext(javax.ejb.SessionContext)
-
getSessionContext
public final javax.ejb.SessionContext getSessionContext()
- Specified by:
getSessionContext
in interfaceorg.springframework.ejb.support.SmartSessionBean
-
setBeanFactoryLocator
public void setBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
-
setBeanFactoryLocatorKey
public void setBeanFactoryLocatorKey(String arg0)
-
getBeanFactory
protected org.springframework.beans.factory.BeanFactory getBeanFactory()
-
ejbRemove
public void ejbRemove()
-
onEjbRemove
protected void onEjbRemove()
-
-