Java 类javax.ejb.EntityContext 实例源码

项目:tomee    文件:MergeWebappJndiContext.java   
private <R extends JndiReference> boolean isPrivateReference(final R a) {
    if (!isResourceRef(a)) {
        return false;
    }

    final Class[] types = {EJBContext.class, EntityContext.class, SessionContext.class, MessageDrivenContext.class, UserTransaction.class};

    for (final Class type : types) {
        if (type.getName().equals(a.getType())) {
            return true;
        }
    }

    return false;
}
项目:Mastering-Java-EE-Development-with-WildFly    文件:Topic.java   
@Override
public void setEntityContext(EntityContext ctx) throws EJBException, RemoteException {
    logger.info("setEntityContext");
}
项目:libreacs    文件:BackupBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:libreacs    文件:DeviceProfileBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:libreacs    文件:Host2ServiceBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:libreacs    文件:ServiceBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:libreacs    文件:DSLStatsBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:libreacs    文件:DataModelBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:libreacs    文件:DeviceProfile2SoftwareBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:libreacs    文件:SoftwareDetailBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:libreacs    文件:ATMErrorsStatsBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:libreacs    文件:OuiMapBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:libreacs    文件:ServicePropertyBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:libreacs    文件:HostPropertyBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:libreacs    文件:ProfilePropertyBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:libreacs    文件:HardwareModelBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:libreacs    文件:PropertyBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:libreacs    文件:ScriptBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:GPLshared    文件:ProductBean.java   
public void setEntityContext(EntityContext context) {
  System.out.println("setEntityContext");
  this.context = context;

}
项目:GPLshared    文件:CMPProductBean.java   
public void setEntityContext(EntityContext context) {
  System.out.println("setEntityContext");
  this.context = context;

}
项目:study-ocbcd    文件:EjbEntityRelationshipBean.java   
public void setEntityContext(EntityContext ctx) {
    System.out.println("setEntityContext");
}
项目:openacs    文件:BackupBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:openacs    文件:DeviceProfileBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:openacs    文件:Host2ServiceBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:openacs    文件:ServiceBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:openacs    文件:DSLStatsBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:openacs    文件:DataModelBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:openacs    文件:DeviceProfile2SoftwareBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:openacs    文件:SoftwareDetailBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:openacs    文件:ATMErrorsStatsBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:openacs    文件:OuiMapBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:openacs    文件:ServicePropertyBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:openacs    文件:HostPropertyBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:openacs    文件:ProfilePropertyBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:openacs    文件:HardwareModelBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:openacs    文件:PropertyBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:openacs    文件:ScriptBean.java   
/**
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext aContext) {
    context = aContext;
}
项目:tomee    文件:BasicBmp2DataSourcesBean.java   
/**
 * Set the associated entity context. The container invokes this method
 * on an instance after the instance has been created.
 */
public void setEntityContext(final EntityContext ctx) throws EJBException, RemoteException {
    ejbContext = ctx;
    testAllowedOperations("setEntityContext");
}
项目:tomee    文件:AllowedOperationsBmpBean.java   
/**
 * Set the associated entity context. The container invokes this method
 * on an instance after the instance has been created.
 */
public void setEntityContext(final EntityContext ctx) throws EJBException, RemoteException {
    ejbContext = ctx;
    testAllowedOperations("setEntityContext");
}
项目:tomee    文件:BasicBmpBean.java   
/**
 * Set the associated entity context. The container invokes this method
 * on an instance after the instance has been created.
 */
public void setEntityContext(final EntityContext ctx) throws EJBException, RemoteException {
    ejbContext = ctx;
    testAllowedOperations("setEntityContext");
}