|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ail.core.configure.EJBLoaderBean
public class EJBLoaderBean
This class acts as a facade to the configuration loader being used on the server side. It is use by the EJBConfigurationLoader (client) to provide access to server side configuration for remote clients (e.g. web start apps) which need to access the server's configuration information.
| Constructor Summary | |
|---|---|
EJBLoaderBean()
|
|
| Method Summary | |
|---|---|
int |
deleteConfigurationRepository()
Pass deleteConfigurationRepository requests onto the loader. |
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbRemove()
|
java.util.Collection<java.lang.String> |
getNamespaces()
Delegate to the local configuration loader's getNamespaces method. |
java.util.Collection<ConfigurationSummary> |
getNamespacesDetail()
Delegate to the local configuration loader's getNamespacesDetail method. |
java.util.Collection<ConfigurationSummary> |
getNamespacesHistoryDetail(java.lang.String namespace)
Delegate to the local configuration loader's getNamespacesHistoryDetail method. |
Configuration |
loadConfiguration(java.lang.String namespace,
VersionEffectiveDate date)
Deligate to the local configuration loader's loadConfiguration method. |
byte[] |
loadConfigurationAsByteArray(java.lang.String namespace,
VersionEffectiveDate date)
Performs the same function as loadConfiguration, but returns a byte array. |
int |
purgeAllConfigurations()
Pass purgeAllConfigurations requests onto the loader. |
int |
reset()
Pass reset requests onto the loader. |
int |
saveConfiguration(java.lang.String namespace,
byte[] config)
Delegate to the local configuration loader's saveConfiguration method. |
void |
saveConfiguration(java.lang.String namespace,
Configuration config)
Delegate to the local configuration loader's saveConfiguration method. |
void |
setSessionContext(javax.ejb.SessionContext sessionContext)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EJBLoaderBean()
| Method Detail |
|---|
public void setSessionContext(javax.ejb.SessionContext sessionContext)
setSessionContext in interface javax.ejb.SessionBeanpublic void ejbRemove()
ejbRemove in interface javax.ejb.SessionBeanpublic void ejbActivate()
ejbActivate in interface javax.ejb.SessionBeanpublic void ejbPassivate()
ejbPassivate in interface javax.ejb.SessionBean
public void ejbCreate()
throws javax.ejb.CreateException
javax.ejb.CreateException
public Configuration loadConfiguration(java.lang.String namespace,
VersionEffectiveDate date)
throws EJBConfigurationException
namespace - Namespace to load.date - Date to load the namespace for (version effective date).
EJBException
EJBConfigurationException
public byte[] loadConfigurationAsByteArray(java.lang.String namespace,
VersionEffectiveDate date)
throws EJBConfigurationException
namespace - Namespace to loaddate - Date to load configuration for.
EJBConfigurationException
public void saveConfiguration(java.lang.String namespace,
Configuration config)
throws EJBConfigurationException
namespace - Namespace to load.config - The configuration to save.
EJBException
EJBConfigurationException
public int saveConfiguration(java.lang.String namespace,
byte[] config)
throws EJBConfigurationException
namespace - Namespace to load.config - The configuration to save.
EJBException
EJBConfigurationException
public java.util.Collection<java.lang.String> getNamespaces()
throws EJBConfigurationException
EJBException
EJBConfigurationException
public java.util.Collection<ConfigurationSummary> getNamespacesDetail()
throws EJBConfigurationException
ConfigurationSummary ).
EJBException
EJBConfigurationException
public java.util.Collection<ConfigurationSummary> getNamespacesHistoryDetail(java.lang.String namespace)
throws EJBConfigurationException
ConfigurationSummary ).
EJBException
EJBConfigurationExceptionpublic int reset()
public int purgeAllConfigurations()
public int deleteConfigurationRepository()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||