|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.spif.ejb.StatelessEJBAccessor
Delegate for stateless ejb accessors
Method Summary | |
static StatelessEJBAccessor |
getAccessor(java.lang.String jndiName,
java.lang.Class home,
java.lang.Class remote)
Returns an accessor. |
javax.ejb.EJBHome |
getHome()
Returns a home object |
javax.ejb.EJBObject |
getRemote()
Returns a home object |
void |
invalidateCache()
|
static void |
invalidateCaches()
Invalidates all cached ejb objects |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static StatelessEJBAccessor getAccessor(java.lang.String jndiName, java.lang.Class home, java.lang.Class remote) throws ConfigurationException
jndiName
- the jndi name of the bean this is the accessor delegate ofhome
- the home interface Class of the bean this is the accessor delegate ofremote
- the remote interface Class of the bean this is the accessor
delegate of
ConfigurationException
- (a runtime exception)
if the accessor has not been initializedpublic javax.ejb.EJBHome getHome() throws ConfigurationException
ConfigurationException
- if the home cannot be found in the JNDI serverpublic javax.ejb.EJBObject getRemote() throws ConfigurationException
ConfigurationException
- if the home cannot be found in the JNDI serverpublic void invalidateCache()
public static void invalidateCaches()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |