public IntraVmArtifact(final Object obj, final boolean storeStatically) { this.staticArtifact = storeStatically; final Handles handles = getHandles(storeStatically); instanceHandle = handles.add(obj); }
protected Object getHandle(final Method method, final Object[] args, final Object proxy) throws Throwable { checkAuthorization(method); return new IntraVmHandle(proxy); }
protected Object getEJBMetaData(Method method, Object[] args, Object proxy) throws Throwable { checkAuthorization(method); IntraVmMetaData metaData = new IntraVmMetaData(getDeploymentInfo().getHomeInterface(), getDeploymentInfo().getRemoteInterface(), getDeploymentInfo().getPrimaryKeyClass(), getDeploymentInfo().getComponentType()); metaData.setEJBHome((EJBHome) proxy); return metaData; }
protected Object getHomeHandle(Method method, Object[] args, Object proxy) throws Throwable { checkAuthorization(method); return new IntraVmHandle(proxy); }
public HomeHandle getHomeHandle(final ProxyInfo pi) { return new IntraVmHandle(getEJBHome(pi)); }
public Handle getHandle(final ProxyInfo pi) { return new IntraVmHandle(getEJBObject(pi)); }
public void invalidateReference() { this.container = null; this.setBeanContext(null); this.isInvalidReference = true; }
@Override public synchronized Object get(final int id) { return super.get(id); } };
protected Object getHandle(final Method method, final Object[] args, final Object proxy) throws Throwable { checkAuthorization(method); return new IntraVmHandle(proxy); }
protected Object getHomeHandle(final Method method, final Object[] args, final Object proxy) throws Throwable { checkAuthorization(method); return new IntraVmHandle(proxy); }
public HomeHandle getHomeHandle(final ProxyInfo pi) { return new IntraVmHandle(getEJBHome(pi)); }
public Handle getHandle(final ProxyInfo pi) { return new IntraVmHandle(getEJBObject(pi)); }
public IntraVmArtifact(final Object obj, final boolean storeStatically) { this.staticArtifact = storeStatically; final Handles handles = getHandles(storeStatically); instanceHandle = handles.add(obj); }
public void invalidateReference() { this.container = null; this.setBeanContext(null); this.isInvalidReference = true; }
protected Object getHandle(Method method, Object[] args, Object proxy) throws Throwable { checkAuthorization(method); return new IntraVmHandle(proxy); }
protected Object getHomeHandle(final Method method, final Object[] args, final Object proxy) throws Throwable { checkAuthorization(method); return new IntraVmHandle(proxy); }
public HomeHandle getHomeHandle(ProxyInfo pi) { return new IntraVmHandle(getEJBHome(pi)); }