|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.directwebremoting.create.AbstractCreator
org.directwebremoting.create.Ejb3Creator
public class Ejb3Creator
A Creator that works against EJB3 beans
Field Summary |
---|
Fields inherited from interface org.directwebremoting.extend.Creator |
---|
APPLICATION, PAGE, REQUEST, SCRIPT, SESSION |
Constructor Summary | |
---|---|
Ejb3Creator()
|
Method Summary | |
---|---|
java.lang.Object |
getInstance()
Accessor for the/an instance of this Creator. |
java.lang.Class |
getType()
Accessor for the java.lang.Class that this Creator
allows access to. |
void |
setBean(java.lang.String bean)
Set the name of the bean for the JNDI lookup |
void |
setBeanNamePostfix(java.lang.String beanNamePostfix)
Set the ending that is appended to the actual bean name fetched from the interface name (UserMgr --> UserMgrBean). |
void |
setInterface(java.lang.String className)
The common interface of the Bean. |
void |
setInterfaceType(java.lang.String iface)
Get local or remote interface? Defaults remote |
Methods inherited from class org.directwebremoting.create.AbstractCreator |
---|
getJavascript, getScope, isCacheable, setCacheable, setJavascript, setProperties, setScope, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.directwebremoting.extend.Creator |
---|
getJavascript, getScope, isCacheable, setProperties |
Constructor Detail |
---|
public Ejb3Creator()
Method Detail |
---|
public void setInterface(java.lang.String className)
className
- The fully qualified class name of the Bean's interfacepublic void setBean(java.lang.String bean)
bean
- public void setInterfaceType(java.lang.String iface)
iface
- Either "local" for the local interface or anything else for the remotepublic void setBeanNamePostfix(java.lang.String beanNamePostfix)
beanNamePostfix
- The name to append to a bean before lookuppublic java.lang.Class getType()
Creator
java.lang.Class
that this Creator
allows access to.
getType
in interface Creator
public java.lang.Object getInstance() throws java.lang.InstantiationException
Creator
getInstance
in interface Creator
java.lang.InstantiationException
- If for some reason the object can not be created
|
Copyright ? 2005 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |