Package com.soffid.iam.service.ejb
Class ConfigurationServiceBean
- java.lang.Object
-
- org.springframework.ejb.support.AbstractStatelessSessionBean
-
- com.soffid.iam.service.ejb.ConfigurationServiceBean
-
- All Implemented Interfaces:
com.soffid.iam.service.ejb.ConfigurationService
,Serializable
,javax.ejb.EnterpriseBean
,javax.ejb.SessionBean
,org.springframework.ejb.support.SmartSessionBean
public class ConfigurationServiceBean extends org.springframework.ejb.support.AbstractStatelessSessionBean implements com.soffid.iam.service.ejb.ConfigurationService
- See Also:
com.soffid.iam.service.ConfigurationService
,,es.caib.seycon.ng.servei.ConfiguracioService
,, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
-
Constructor Summary
Constructors Constructor Description ConfigurationServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.api.Configuration
create(com.soffid.iam.api.Configuration configuracio)
void
delete(com.soffid.iam.api.Configuration configuracio)
void
deleteBlob(String name)
void
ejbCreate()
Initizlizes beenvoid
ejbRemove()
Collection<com.soffid.iam.api.Configuration>
findConfigurationByFilter(String codi, String valor, String descripcio, String codiXarxa)
com.soffid.iam.api.Configuration
findParameterByNameAndNetworkName(String codiParametre, String codiXarxa)
String
findTenantParameter(String tenant, String parameter)
protected org.springframework.beans.factory.BeanFactory
getBeanFactory()
byte[]
getBlob(String name)
Collection<com.soffid.iam.api.Configuration>
getParameters()
javax.ejb.SessionContext
getSessionContext()
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.com.soffid.iam.api.Configuration
update(com.soffid.iam.api.Configuration configuracio)
void
updateBlob(String name, byte[] data)
-
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
-
getBlob
@PermitAll public byte[] getBlob(String name) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getBlob
in interfacecom.soffid.iam.service.ejb.ConfigurationService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.Configuration create(com.soffid.iam.api.Configuration configuracio) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.ConfigurationService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findParameterByNameAndNetworkName
@PermitAll public com.soffid.iam.api.Configuration findParameterByNameAndNetworkName(String codiParametre, String codiXarxa) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findParameterByNameAndNetworkName
in interfacecom.soffid.iam.service.ejb.ConfigurationService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.Configuration update(com.soffid.iam.api.Configuration configuracio) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.ConfigurationService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findTenantParameter
@PermitAll public String findTenantParameter(String tenant, String parameter) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findTenantParameter
in interfacecom.soffid.iam.service.ejb.ConfigurationService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findConfigurationByFilter
@PermitAll public Collection<com.soffid.iam.api.Configuration> findConfigurationByFilter(String codi, String valor, String descripcio, String codiXarxa) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findConfigurationByFilter
in interfacecom.soffid.iam.service.ejb.ConfigurationService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getParameters
@PermitAll public Collection<com.soffid.iam.api.Configuration> getParameters() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getParameters
in interfacecom.soffid.iam.service.ejb.ConfigurationService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.Configuration configuracio) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.ejb.ConfigurationService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
deleteBlob
@PermitAll public void deleteBlob(String name) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
deleteBlob
in interfacecom.soffid.iam.service.ejb.ConfigurationService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
updateBlob
@PermitAll public void updateBlob(String name, byte[] data) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updateBlob
in interfacecom.soffid.iam.service.ejb.ConfigurationService
- 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()
-
-