Package org.rioproject.admin

Examples of org.rioproject.admin.ServiceAdmin


     *
     * @throws RemoteException if an communication errors occur
     */
    public ServiceAdmin getServiceAdmin() throws RemoteException {
        if(adminProxy==null) {
            ServiceAdmin serviceAdminRemoteRef = (ServiceAdmin)exporter.export(this);
            adminProxy = ServiceAdminProxy.getInstance(serviceAdminRemoteRef, UuidFactory.generate());
        }
        return(adminProxy);
    }
View Full Code Here


        patientStats.shutdown();
    }

    private void wireUpProvisionMonitorEventListener(final Object o) throws Exception {
        Service s = (Service)o;
        ServiceAdmin sAdmin = (ServiceAdmin) s.getAdmin();
        ServiceItem items[] = null;
        for(ServiceRegistrar sr : sAdmin.getJoinSet()) {
            ServiceMatches sm = sr.lookup(new ServiceTemplate(null, new Class[]{ProvisionMonitor.class}, null),
                                          Integer.MAX_VALUE);
            if(sm.items!=null && sm.items.length>0) {
                items = sm.items;
                break;
View Full Code Here

TOP

Related Classes of org.rioproject.admin.ServiceAdmin

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.