|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openejb.assembler.ContainerBuilder
| Field Summary |
| Fields inherited from interface org.openejb.assembler.Container |
ENTITY, MESSAGE_DRIVEN, STATEFUL, STATELESS |
| Constructor Summary | |
ContainerBuilder()
|
|
| Method Summary | |
void |
deploy(Object deploymentID,
DeploymentInfo info)
Adds a bean to this container. |
DeploymentInfo[] |
deployments()
Gets the DeploymentInfo objects for all the beans deployed in this container. |
Object |
getContainerID()
Gets the id of this container. |
int |
getContainerType()
Gets the type of container (STATELESS, STATEFUL, ENTITY, or MESSAGE_DRIVEN |
DeploymentInfo |
getDeploymentInfo(Object deploymentID)
Gets the DeploymentInfo object for the bean with the specified deployment id. |
void |
init(Object containerId,
HashMap deploymentsMap,
Properties properties)
This method is used to initalized a new container with its name, deployments and properties. |
Object |
invoke(Object deployID,
Method callMethod,
Object[] args,
Object primKey,
Object securityIdentity)
Invokes a method on an instance of the specified bean deployment. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ContainerBuilder()
| Method Detail |
public void init(Object containerId,
HashMap deploymentsMap,
Properties properties)
throws OpenEJBException
Container
init in interface ContainerOpenEJBException
public Object invoke(Object deployID,
Method callMethod,
Object[] args,
Object primKey,
Object securityIdentity)
throws OpenEJBException
RpcContainer
invoke in interface RpcContainerdeployID - the dployment id of the bean deploymentcallMethod - the method to be called on the bean instanceargs - the arguments to use when invoking the specified methodprimKey - the primary key class of the bean or null if the bean does not need a primary key
OpenEJBExceptionStatefulContainer.invoke,
StatelessContainer.invokepublic int getContainerType()
Container
getContainerType in interface Containerpublic DeploymentInfo getDeploymentInfo(Object deploymentID)
ContainerDeploymentInfo object for the bean with the specified deployment id.
getDeploymentInfo in interface ContainerDeploymentInfo,
ContainerSystem.getDeploymentInfo,
DeploymentInfo.getDeploymentID()public DeploymentInfo[] deployments()
ContainerDeploymentInfo objects for all the beans deployed in this container.
deployments in interface ContainerDeploymentInfo,
ContainerSystem.deployments()
public void deploy(Object deploymentID,
DeploymentInfo info)
throws OpenEJBException
Container
deploy in interface Containerinfo - the DeploymentInfo object associated with the bean.
OpenEJBException - Occurs when the container is not able to deploy the bean for some
reason.public Object getContainerID()
Container
getContainerID in interface ContainerDeploymentInfo.getContainerID()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||