|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.commons.config.ConfigurationServiceClientFactory
public final class ConfigurationServiceClientFactory
Client factory to create the ConfigurationService (ConfigurationServiceInterface) and the ConfigurationServiceAdmin (ConfigurationServiceAdminInterface). The factory can only be used in a standalone EJB client. Do not use this factory in a J2EE container context (EJB, Web, ...).
| Method Summary | |
|---|---|
static ConfigurationServiceAdminInterface |
createAdmin()
Returns a remote instance of the ConfigurationServiceAdminInterface. |
static ConfigurationServiceInterface |
createService()
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 createService()
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 createAdmin()
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 | |||||||||