public interface EjbReference extends ContextParameter
Modifier and Type | Method and Description |
---|---|
String |
getBeanClassName()
Gets the bean instance interface classname of the referee EJB.
|
String |
getHomeClassName()
Gets the home classname of the referee EJB.
|
String |
getLinkName()
Gets the link name of the reference.
|
BundleDescriptor |
getReferringBundleDescriptor()
Get the referring bundle, i.e.
|
String |
getType()
Get the type of the EJB (Session, Entity or Message-Driven).
|
boolean |
isLocal()
Tests if the reference to the referree EJB is through local or
remote interface
|
void |
setBeanClassName(String beanClassName)
Sets the bean interface classname of the referee EJB.
|
void |
setHomeClassName(String homeClassName)
Sets the home classname of the referee EJB.
|
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, getValue, setDescription, setName, setValue
String getType()
void setType(String type)
the
- type of the EJB.String getHomeClassName()
void setHomeClassName(String homeClassName)
the
- class name of the EJB home.String getBeanClassName()
void setBeanClassName(String beanClassName)
the
- classname of the EJB remote object.String getLinkName()
void setLinkName(String linkName)
the
- link name.boolean isLocal()
void setLocal(boolean isLocal)
true
- if using the local interfacevoid setReferringBundleDescriptor(BundleDescriptor referringBundle)
BundleDescriptor getReferringBundleDescriptor()
Copyright © 2021. All rights reserved.