public interface EjbReference extends NamedInformation, InjectionCapable
| Modifier and Type | Method and Description |
|---|---|
EjbDescriptor |
getEjbDescriptor() |
String |
getEjbHomeInterface()
Gets the home classname of the referee EJB.
|
String |
getEjbInterface()
Gets the local or remote interface classname of the referee EJB.
|
String |
getJndiName() |
String |
getLinkName()
Gets the link name of the reference.
|
String |
getLookupName() |
BundleDescriptor |
getReferringBundleDescriptor()
Get the referring bundle, i.e.
|
String |
getType()
Get the type of the EJB (Session, Entity or Message-Driven).
|
boolean |
hasJndiName()
Returns true if the reference has a non-null non-zero length jndiname
|
boolean |
hasLookupName()
Returns true if the lookup name is non-null and has a non-zero length
|
boolean |
isEJB30ClientView() |
boolean |
isLocal()
Tests if the reference to the referree EJB is through local or
remote interface
|
void |
setEjbDescriptor(EjbDescriptor descriptor) |
void |
setEjbHomeInterface(String ejbHomeInterface)
Sets the local or remote home classname of the referee EJB.
|
void |
setEjbInterface(String ejbInterface)
Sets the local or remote bean interface classname of the referee EJB.
|
void |
setJndiName(String jndiName)
Set the jndi name for this ejb reference
|
void |
setLinkName(String linkName)
Sets the link name of the reference.
|
void |
setLocal(boolean isLocal)
Sets whether the reference uses the local or remote interfaces of
the referring EJB
|
void |
setReferringBundleDescriptor(BundleDescriptor referringBundle)
Set the referring bundle, i.e.
|
void |
setType(String type)
Set the type of the EJB.
|
getDescription, getName, setDescription, setNameaddInjectionTarget, getComponentEnvName, getInjectionTargets, getInjectResourceType, isInjectable, setInjectResourceTypeString getType()
void setType(String type)
type - the type of the EJB.String getEjbHomeInterface()
void setEjbHomeInterface(String ejbHomeInterface)
ejbHomeInterface - the class name of the EJB home.String getEjbInterface()
void setEjbInterface(String ejbInterface)
ejbInterface - the classname of the EJB remote object.String getLinkName()
void setLinkName(String linkName)
linkName - the link name.boolean isLocal()
void setLocal(boolean isLocal)
isLocal - true if using the local interfacevoid setReferringBundleDescriptor(BundleDescriptor referringBundle)
referringBundle - BundleDescriptor getReferringBundleDescriptor()
void setJndiName(String jndiName)
jndiName - String getJndiName()
boolean hasJndiName()
boolean hasLookupName()
String getLookupName()
EjbDescriptor getEjbDescriptor()
void setEjbDescriptor(EjbDescriptor descriptor)
boolean isEJB30ClientView()
Copyright © 2019. All rights reserved.