Package org.jboss.msc.value

Examples of org.jboss.msc.value.ImmediateValue


        SessionID sessionID = (SessionID) contextData.get(SessionID.class);
        if(sessionID == null) {
            sessionID = EJBClient.createSession(applicationName, moduleName, beanName, distinctName);
        }
        Object value = EJBClient.createProxy(new StatefulEJBLocator(componentView.getViewClass(), applicationName, moduleName, beanName, distinctName, sessionID));
        return new ValueManagedReference(new ImmediateValue(value));
    }
View Full Code Here


        Object primaryKey = contextData.get(EntityBeanComponent.PRIMARY_KEY_CONTEXT_KEY);
        if (primaryKey == null) {
            primaryKey = invokeCreate(componentView.getComponent(), contextData);
        }
        Object value = EJBClient.createProxy(new EntityEJBLocator(componentView.getViewClass(), applicationName, moduleName, beanName, distinctName, primaryKey));
        return new ValueManagedReference(new ImmediateValue(value));
    }
View Full Code Here

TOP

Related Classes of org.jboss.msc.value.ImmediateValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.