public void addLocalHome(final String localHome) { final EjbHomeViewDescription view = new EjbHomeViewDescription(this, localHome, MethodIntf.LOCAL_HOME); view.getConfigurators().add(new Ejb2ViewTypeConfigurator(Ejb2xViewType.LOCAL_HOME)); getViews().add(view); // setup server side view interceptors setupViewInterceptors(view); // setup client side view interceptors setupClientViewInterceptors(view); // return created view this.ejbLocalHomeView = view; }
public void addRemoteHome(final String remoteHome) { final EjbHomeViewDescription view = new EjbHomeViewDescription(this, remoteHome, MethodIntf.HOME); view.getConfigurators().add(new Ejb2ViewTypeConfigurator(Ejb2xViewType.HOME)); getViews().add(view); // setup server side view interceptors setupViewInterceptors(view); // setup client side view interceptors setupClientViewInterceptors(view); // return created view this.ejbHomeView = view; }
protected EJBViewDescription registerView(final String viewClassName, final MethodIntf viewType, final boolean ejb2xView) { // setup the ViewDescription final EJBViewDescription viewDescription = new EJBViewDescription(this, viewClassName, viewType, ejb2xView); getViews().add(viewDescription); // setup server side view interceptors setupViewInterceptors(viewDescription); // setup client side view interceptors setupClientViewInterceptors(viewDescription); // return created view if (viewType == MethodIntf.REMOTE || viewType == MethodIntf.HOME) { setupRemoteView(viewDescription); } return viewDescription; }
public void addLocalHome(final String localHome) { final EjbHomeViewDescription view = new EjbHomeViewDescription(this, localHome, MethodIntf.LOCAL_HOME); view.getConfigurators().add(new Ejb2ViewTypeConfigurator(Ejb2xViewType.LOCAL_HOME)); getViews().add(view); // setup server side view interceptors setupViewInterceptors(view); // setup client side view interceptors setupClientViewInterceptors(view); // return created view this.ejbLocalHomeView = view; }
public void addRemoteHome(final String remoteHome) { final EjbHomeViewDescription view = new EjbHomeViewDescription(this, remoteHome, MethodIntf.HOME); view.getConfigurators().add(new Ejb2ViewTypeConfigurator(Ejb2xViewType.HOME)); getViews().add(view); // setup server side view interceptors setupViewInterceptors(view); // setup client side view interceptors setupClientViewInterceptors(view); // return created view this.ejbHomeView = view; }
protected EJBViewDescription registerView(final String viewClassName, final MethodIntf viewType, final boolean ejb2xView) { // setup the ViewDescription final EJBViewDescription viewDescription = new EJBViewDescription(this, viewClassName, viewType, ejb2xView); getViews().add(viewDescription); // setup server side view interceptors setupViewInterceptors(viewDescription); // setup client side view interceptors setupClientViewInterceptors(viewDescription); // return created view if (viewType == MethodIntf.REMOTE || viewType == MethodIntf.HOME) { setupRemoteView(viewDescription); } return viewDescription; }