Examples of ConnectionRegistry


Examples of com.sun.mfwk.agent.appserv.connection.ConnectionRegistry

                    throw new MBeanException(e);
                }

                try {
                    // refresh connection
                    ConnectionRegistry r = ConnectionRegistry.getInstance();
                    this.mbs = r.getConnection(serverName, domainName);

                    LogDomains.getLogger().fine(
                        "Refreshed connection for server: " + serverName);

                    if (ra.handler != null) {
View Full Code Here

Examples of com.sun.mfwk.agent.appserv.connection.ConnectionRegistry

                "Found stale connection for server: " + serverName);

            try {
                if (serverName != null) {
                    // refresh connection
                    ConnectionRegistry r = ConnectionRegistry.getInstance();
                    this.mbs = r.getConnection(serverName, domainName);

                    LogDomains.getLogger().fine(
                        "Refreshed connection for server: " + serverName);

                    return this.mbs.queryNames(pattern, null);
View Full Code Here

Examples of com.sun.mfwk.agent.appserv.connection.ConnectionRegistry

    * @throws IOException
    */
    private MBeanServerConnection getConnection(String server, String domain)
            throws IOException {

        ConnectionRegistry registry = ConnectionRegistry.getInstance();
        MBeanServerConnection connection =
            registry.getConnection(server, domain);
        return connection;
    }
View Full Code Here

Examples of com.sun.mfwk.agent.appserv.connection.ConnectionRegistry

            MBeanServerConnection mbsthrows HandlerException, AttributeNotFoundException,
             MBeanException, ReflectionException, InstanceNotFoundException,
             IOException  {
        try {   
           
            ConnectionRegistry registry = ConnectionRegistry.getInstance();
             MBeanServerConnection connection =
                    registry.getConnection("server", (String)getMappingQueryService().getProperty(Constants.DOMAIN_NAME_PROP));
            
            Object status =
                connection.invoke(new ObjectName("com.sun.appserv:name=domain-status"),
                "getstate",
                new String[]{peer.getKeyProperty("name")},
View Full Code Here

Examples of com.sun.mfwk.agent.appserv.connection.ConnectionRegistry

                // handle HELLO messages
                if (msg.getMessageType() == MfDiscoveryParameters.MSG_TYPE_HELLO) {
                    logger.finest("DISCOVERY HELLO message");
                    // set up connection credentials in registry
                    ConnectionRegistry reg = ConnectionRegistry.getInstance();
                    reg.setConnectionCredentials(instanceName, domainName, map);
                   
                    sManager.start();

                   // Set the appropriated states
                   // Send the notifications to SNMP mediation
View Full Code Here

Examples of org.apache.qpid.server.connection.ConnectionRegistry

        CurrentActor.get().message(VirtualHostMessages.CREATED(_name));

        _securityManager = new SecurityManager(parentSecurityManager, _vhostConfig.getConfig().getString("security.acl"), _name);

        _connectionRegistry = new ConnectionRegistry();
        _connectionRegistry.addRegistryChangeListener(this);

        _houseKeepingTasks = new ScheduledThreadPoolExecutor(_vhostConfig.getHouseKeepingThreadCount());

View Full Code Here

Examples of org.apache.qpid.server.connection.ConnectionRegistry

        CurrentActor.get().message(VirtualHostMessages.CREATED(_name));

        _securityManager = new SecurityManager(_appRegistry.getSecurityManager(), _vhostConfig.getConfig());

        _connectionRegistry = new ConnectionRegistry();
        _connectionRegistry.addRegistryChangeListener(this);

        _houseKeepingTasks = new ScheduledThreadPoolExecutor(_vhostConfig.getHouseKeepingThreadCount());

        _queueRegistry = new DefaultQueueRegistry(this);
View Full Code Here

Examples of org.apache.qpid.server.connection.ConnectionRegistry

        CurrentActor.get().message(VirtualHostMessages.CREATED(_name));

        _securityManager = new SecurityManager(_appRegistry.getSecurityManager());
        _securityManager.configureHostPlugins(_vhostConfig);

        _connectionRegistry = new ConnectionRegistry();
        _connectionRegistry.addRegistryChangeListener(this);

        _houseKeepingTasks = new ScheduledThreadPoolExecutor(_vhostConfig.getHouseKeepingThreadCount());

        _queueRegistry = new DefaultQueueRegistry(this);
View Full Code Here

Examples of org.apache.qpid.server.connection.ConnectionRegistry

        _securityManager = new SecurityManager(_appRegistry.getSecurityManager());
        _securityManager.configureHostPlugins(_configuration);

        _virtualHostMBean = new VirtualHostMBean();

        _connectionRegistry = new ConnectionRegistry();

        _houseKeepingTasks = new ScheduledThreadPoolExecutor(_configuration.getHouseKeepingThreadCount());

        _queueRegistry = new DefaultQueueRegistry(this);
View Full Code Here

Examples of org.apache.qpid.server.connection.ConnectionRegistry

        CurrentActor.get().message(VirtualHostMessages.CREATED(_name));

        _securityManager = new SecurityManager(parentSecurityManager, _vhostConfig.getConfig().getString("security.acl"), _name);

        _connectionRegistry = new ConnectionRegistry();
        _connectionRegistry.addRegistryChangeListener(this);

        _houseKeepingTasks = new ScheduledThreadPoolExecutor(_vhostConfig.getHouseKeepingThreadCount());

        _queueRegistry = new DefaultQueueRegistry(this);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.