Package com.sun.enterprise.config.serverbeans

Examples of com.sun.enterprise.config.serverbeans.ResourceRef


                appRefs[i].getRef(), appRefs[i].getVirtualServers());
        }
       
        //The clustered server inherits its resources from the cluster
        ResourceRef[] resRefs = cluster.getResourceRef();
        ResourceRef resRef = null;
        for (int i = 0; i < resRefs.length; i++) {
            addResourceReference(server, resRefs[i].isEnabled(),
                resRefs[i].getRef());
        }
    }
View Full Code Here


        cl.setConfigRef(DEFAULT_CLUSTER_CONFIG);
        cl.setHeartbeatEnabled(true);
        cl.setHeartbeatPort(Integer.toString((new Long(Math.round(Math.random()*45556))).intValue()));
        cl.setHeartbeatAddress("228.8.7.9");

        ResourceRef rref = new ResourceRef();
        rref.setEnabled(true);
        rref.setRef("jdbc/__CallFlowPool");

        ApplicationRef aref = new ApplicationRef();
        aref.setEnabled(true);
        aref.setDisableTimeoutInMinutes("30");
        aref.setLbEnabled(false);
View Full Code Here

            if (notif.getType().equals(MBeanServerNotification.REGISTRATION_NOTIFICATION))
            {
                if ( type.equals( mResourceRefType ) )
                {
                    mLogger.fine("New ResourceRef MBEAN registered: " + objectName);
                    final ResourceRef ref = (ResourceRef) ConfigBeanRegistry.getInstance().getConfigBean(objectName);
                    processResourceRef(ref);
                }
                else if ( type.equals( mApplicationRefType ) )
                {
                    mLogger.fine( "NEW ApplicationRef MBEAN registered: " + objectName);
View Full Code Here

            if (notif.getType().equals(MBeanServerNotification.REGISTRATION_NOTIFICATION))
            {
                if ( type.equals( mResourceRefType ) )
                {
                    mLogger.fine("New ResourceRef MBEAN registered: " + objectName);
                    final ResourceRef ref = (ResourceRef) ConfigBeanRegistry.getInstance().getConfigBean(objectName);
                    processResourceRef(ref);
                }
                else if ( type.equals( mApplicationRefType ) )
                {
                    mLogger.fine( "NEW ApplicationRef MBEAN registered: " + objectName);
View Full Code Here

            if (notif.getType().equals(MBeanServerNotification.REGISTRATION_NOTIFICATION))
            {
                if ( type.equals( mResourceRefType ) )
                {
                    mLogger.fine("New ResourceRef MBEAN registered: " + objectName);
                    final ResourceRef ref = (ResourceRef) ConfigBeanRegistry.getInstance().getConfigBean(objectName);
                    processResourceRef(ref);
                }
                else if ( type.equals( mApplicationRefType ) )
                {
                    mLogger.fine( "NEW ApplicationRef MBEAN registered: " + objectName);
View Full Code Here

TOP

Related Classes of com.sun.enterprise.config.serverbeans.ResourceRef

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.