|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.lib.ejb21.JServiceEndpointHome
public abstract class JServiceEndpointHome
This class is a factory for JServiceEndpoint objects.
Field Summary | |
---|---|
protected JFactory |
bf
|
protected SessionStatelessDesc |
dd
|
protected static org.objectweb.util.monolog.api.Logger |
logger
Logger, used also in the generated part. |
protected static org.objectweb.util.monolog.api.Logger |
lognaming
|
protected static Map |
sehomeList
|
Constructor Summary | |
---|---|
JServiceEndpointHome(SessionStatelessDesc dd,
JStatelessFactory bf)
constructor |
Method Summary | |
---|---|
JServiceEndpoint |
create()
unique create method |
abstract JServiceEndpoint |
createServiceEndpointObject()
|
JStatelessFactory |
getBeanFactory()
|
static JServiceEndpointHome |
getSEHome(String beanName)
Get JServiceEndpointHome by its name used by HomeFactory to retrieve object from its reference. |
protected void |
register()
register this bean to JNDI (rebind) We register actually a Reference object. |
void |
resetCompCtx(Context ctx)
Restore old value |
Context |
setCompCtx()
Set the bean environment in current context |
protected void |
unregister()
unregister this bean in JNDI (unbind) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.objectweb.util.monolog.api.Logger logger
protected static org.objectweb.util.monolog.api.Logger lognaming
protected SessionStatelessDesc dd
protected JFactory bf
protected static Map sehomeList
Constructor Detail |
---|
public JServiceEndpointHome(SessionStatelessDesc dd, JStatelessFactory bf)
dd
- The Session Deployment Decriptorbf
- The Session FactoryMethod Detail |
---|
protected void register() throws NamingException
NamingException
protected void unregister() throws NamingException
NamingException
public static JServiceEndpointHome getSEHome(String beanName)
beanName
- The Bean JNDI local Name
public JServiceEndpoint create() throws RemoteException
RemoteException
public Context setCompCtx()
public void resetCompCtx(Context ctx)
public abstract JServiceEndpoint createServiceEndpointObject() throws RemoteException
RemoteException
public JStatelessFactory getBeanFactory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |