|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.commons.config.ConfigurationServiceContainerFactory
public final class ConfigurationServiceContainerFactory
Container factory to create the ConfigurationService (ConfigurationServiceInterface) and the ConfigurationServiceAdminService (ConfigurationServiceAdminInterface). The factory can only be used in a J2EE container context (EJB, Web, ...). Do not use this factory in a standalone EJB client.
| Method Summary | |
|---|---|
static ConfigurationServiceAdminInterface |
createLocalAdmin()
Returns a remote instance of the ConfigurationServiceAdminInterface. |
static ConfigurationServiceInterface |
createLocalService()
Returns a local instance of the ConfigurationServiceInterface. |
static ConfigurationServiceAdminInterface |
createRemoteAdmin()
Returns a remote instance of the ConfigurationServiceAdminInterface. |
static ConfigurationServiceInterface |
createRemoteService()
Returns a remote instance of the ConfigurationServiceInterface. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ConfigurationServiceInterface createLocalService()
public static ConfigurationServiceInterface createRemoteService()
throws RemoteException,
CreateException,
NamingException
RemoteException - communication-related exceptions that may occur
during the execution of a remote method call.
CreateException - if the creation the EJB object failed.
NamingException - if the lookup of the EJB object failed.public static ConfigurationServiceAdminInterface createLocalAdmin()
public static ConfigurationServiceAdminInterface createRemoteAdmin()
throws RemoteException,
CreateException,
NamingException
RemoteException - communication-related exceptions that may occur
during the execution of a remote method call.
CreateException - if the creation the EJB object failed.
NamingException - if the lookup of the EJB object failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||