Examples of AMX


Examples of com.sun.appserv.management.base.AMX

        the specified item.
     */
        public static Set<ResourceRefConfig>
    findAllRefConfigs( final ResourceRefConfigReferent referent )
    {
        final AMX   amx = Util.asAMX( referent );
       
        return
            findAllRefConfigsWithName( getQueryMgr( amx ), XTypes.RESOURCE_REF_CONFIG, amx.getName() );
    }
View Full Code Here

Examples of com.sun.appserv.management.base.AMX

        the specified item.
     */
        public static Set<ServerRefConfig>
    findAllRefConfigs( final ServerRefConfigReferent referent )
    {
        final AMX   amx = Util.asAMX( referent );
       
        return
            findAllRefConfigsWithName( getQueryMgr( amx ), XTypes.SERVER_REF_CONFIG, amx.getName() );
    }
View Full Code Here

Examples of com.sun.appserv.management.base.AMX

        the specified item.
     */
        public static Set<ClusterRefConfig>
    findAllRefConfigs( final ClusterRefConfigReferent referent )
    {
        final AMX   amx = Util.asAMX( referent );
       
        return
            findAllRefConfigsWithName( getQueryMgr( amx ), XTypes.CLUSTER_REF_CONFIG, amx.getName() );
    }
View Full Code Here

Examples of com.sun.appserv.management.base.AMX

   
    if ( type.equals( MBeanServerNotification.UNREGISTRATION_NOTIFICATION)  )
    {
      final MBeanServerNotification  notif  = (MBeanServerNotification)notifIn;
      final ObjectName  objectName  = notif.getMBeanName();
      final AMX proxy  = getProxy( objectName, AMX.class, false );
      mProxyCache.remove( objectName );
      ConverterHandlerUtil.targetUnregistered(proxy);
     
      //debug( "ProxyFactory.handleNotification: UNREGISTERED: ", objectName );
    }
View Full Code Here

Examples of com.sun.appserv.management.base.AMX

  getProxy(
      final ObjectName  objectName,
      Class<T>            theClass,
      boolean             create )
  {
    AMX  proxy  = mProxyCache.getCachedProxy( objectName );
   
    if ( proxy == null && create )
    {
      proxy  = createProxy( objectName );
    }
View Full Code Here

Examples of com.sun.appserv.management.base.AMX

    @param ObjectName
   */
    private AMX
  createProxy( final ObjectName  objectName  )
  {
    AMX proxy        = null;
   
    try
    {
      String    proxyInterfaceName  = null;
      Class  proxyInterface    = null;
View Full Code Here

Examples of com.sun.appserv.management.base.AMX

  {
    final MBeanProxyHandler  handler  = createProxyHandler( objectName );
   
    final ClassLoader    classLoader  = interfaceClasses[ 0 ].getClassLoader();
   
    final AMX proxy  = Util.asAMX(Proxy.newProxyInstance( classLoader, interfaceClasses, handler));
    if ( proxy != null )
    {
        mProxyCache.remove( objectName );
      mProxyCache.cacheProxy( proxy );
    }
View Full Code Here

Examples of com.sun.appserv.management.base.AMX

   
    for( final ObjectName objectName : objectNames )
    {
      try
      {
        final AMX  proxy  = getProxy( objectName, AMX.class, true );
        assert( ! s.contains( proxy ) );
        s.add( proxy );
      }
      catch( final Exception e )
      {
View Full Code Here

Examples of com.sun.appserv.management.base.AMX

   
    for( final ObjectName objectName : objectNames )
    {
      try
      {
        final AMX  proxy  = getProxy( objectName, AMX.class, true );
        list.add( proxy );
      }
      catch( final Exception e )
      {
          debug( "ProxyFactory.toProxySet: exception for MBean ",
View Full Code Here

Examples of com.sun.appserv.management.base.AMX

    {
      final ObjectName  objectName  = objectNameMap.get( key );
     
      try
      {
        final AMX  proxy  = getProxy( objectName, AMX.class, true );
        resultMap.put( key, proxy );
      }
      catch( final Exception e )
      {
          debug( "ProxyFactory.toProxySet: exception for MBean ",
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.