Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » core » stateful » [javadoc | source]
org.apache.openejb.core.stateful
public class: StatefulContainer [javadoc | source]
java.lang.Object
   org.apache.openejb.core.stateful.StatefulContainer

All Implemented Interfaces:
    RpcContainer

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Nested Class Summary:
public static enum class  StatefulContainer.MethodType   
public class  StatefulContainer.StatefulCacheListener   
Field Summary
protected final  JtaEntityManagerRegistry entityManagerRegistry     
protected final  Map<Object, DeploymentInfo> deploymentsById    Index used for getDeployments() and getDeploymentInfo(deploymentId). 
protected final  Cache<Object, Instance> cache     
Constructor:
 public StatefulContainer(Object id,
    SecurityService securityService,
    Cache<Object, Instance> cache) 
Method from org.apache.openejb.core.stateful.StatefulContainer Summary:
businessMethod,   createEJBObject,   deploy,   deployments,   getContainerID,   getContainerType,   getDeploymentInfo,   invoke,   invoke,   invoke,   newPrimaryKey,   removeEJBObject,   undeploy
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openejb.core.stateful.StatefulContainer Detail:
 protected Object businessMethod(CoreDeploymentInfo deploymentInfo,
    Object primKey,
    Class callInterface,
    Method callMethod,
    Object[] args,
    InterfaceType interfaceType) throws OpenEJBException 
 protected ProxyInfo createEJBObject(CoreDeploymentInfo deploymentInfo,
    Method callMethod,
    Object[] args,
    InterfaceType interfaceType) throws OpenEJBException 
 public  void deploy(DeploymentInfo deploymentInfo) throws OpenEJBException 
 public synchronized DeploymentInfo[] deployments() 
 public Object getContainerID() 
 public ContainerType getContainerType() 
 public synchronized DeploymentInfo getDeploymentInfo(Object deploymentID) 
 public Object invoke(Object deployID,
    Method callMethod,
    Object[] args,
    Object primKey,
    Object securityIdentity) throws OpenEJBException 
Deprecated! use - invoke signature without 'securityIdentity' argument.

 public Object invoke(Object deployID,
    Class callInterface,
    Method callMethod,
    Object[] args,
    Object primKey) throws OpenEJBException 
 public Object invoke(Object deployID,
    InterfaceType type,
    Class callInterface,
    Method callMethod,
    Object[] args,
    Object primKey) throws OpenEJBException 
 protected Object newPrimaryKey() 
 protected Object removeEJBObject(CoreDeploymentInfo deploymentInfo,
    Object primKey,
    Class callInterface,
    Method callMethod,
    Object[] args,
    InterfaceType interfaceType) throws OpenEJBException 
 public  void undeploy(DeploymentInfo info) throws OpenEJBException