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 StringBEAN_FACTORY_PATH_ENVIRONMENT_KEY
-
Constructor Summary
Constructors Constructor Description ServerPluginServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeletePlugin(com.soffid.iam.api.ServerPlugin plugin)voiddeployPlugin(byte[] i)voidejbCreate()Initizlizes beenvoidejbRemove()voidenablePlugin(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.AgentDescriptorgetAgentDescriptor(String className)Collection<com.soffid.iam.api.AgentDescriptor>getAgentDescriptors()Collection<com.soffid.iam.api.AgentDescriptor>getAllAgentDescriptorsInfo()protected org.springframework.beans.factory.BeanFactorygetBeanFactory()Collection<com.soffid.iam.api.AgentDescriptor>getPluginAgentDescriptors(com.soffid.iam.api.ServerPlugin plugin)StringgetServerVersion()javax.ejb.SessionContextgetSessionContext()Collection<com.soffid.iam.api.ServerPlugin>listServerPlugins()protected voidonEjbCreate()protected voidonEjbRemove()voidsetBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)voidsetBeanFactoryLocatorKey(String arg0)voidsetSessionContext(javax.ejb.SessionContext sessionContext)Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.voidupdatePlugin(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:
getAgentDescriptorin 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:
getServerVersionin 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:
findAgentDescriptorWorkflowsin 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:
getAgentDescriptorsin 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:
getAllAgentDescriptorsInfoin 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:
getPluginAgentDescriptorsin 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:
listServerPluginsin 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:
deletePluginin 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:
deployPluginin interfacecom.soffid.iam.service.ejb.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptioncom.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:
enablePluginin 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:
updatePluginin 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:
ejbCreatein classorg.springframework.ejb.support.AbstractStatelessSessionBean- Throws:
javax.ejb.CreateException- See Also:
AbstractStatelessSessionBean.onEjbCreate()
-
onEjbCreate
protected void onEjbCreate()
- Specified by:
onEjbCreatein 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:
setSessionContextin interfacejavax.ejb.SessionBean- See Also:
SessionBean.setSessionContext(javax.ejb.SessionContext)
-
getSessionContext
public final javax.ejb.SessionContext getSessionContext()
- Specified by:
getSessionContextin 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()
-
-