Package com.sun.enterprise.admin.pluggable

Examples of com.sun.enterprise.admin.pluggable.ClientPluggableFeatureFactory


  private boolean isNotRunning() throws CommandValidationException
  {
    try
    {
      ClientPluggableFeatureFactory  cpff  = getFeatureFactory();
      DomainsManager          dm    = cpff.getDomainsManager();
      DomainConfig          dc    = getDomainConfig(domainName);
      InstancesManager        im    = dm.getInstancesManager(dc);
      final int            state  = im.getInstanceStatus();

      return state == Status.kInstanceNotRunningCode;
View Full Code Here


          ClientPluggableFeatureFactory.PLUGGABLE_FEATURES_PROPERTY_NAME,
          DEFAULT_FEATURES_PROPERTY_CLASS);
        getLogger().log(Level.FINER, "featurePropClass: " + featurePropClass);
        ClientPluggableFeatureFactoryImpl featureFactoryImpl =
            new ClientPluggableFeatureFactoryImpl(getLogger());
        ClientPluggableFeatureFactory featureFactory =
      (ClientPluggableFeatureFactory)featureFactoryImpl.getInstance(featurePropClass);
        if (featureFactory == null) {
            getLogger().log(Level.WARNING,
          "j2eerunner.pluggable_feature_noinit", featurePropClass);
        }
View Full Code Here

    }
   
    public void stopDomain (String domainName) throws CommandException, CommandValidationException
    {
        try {           
            final ClientPluggableFeatureFactory fac     = getFeatureFactory();
            final DomainsManager                mgr     = fac.getDomainsManager();
            final DomainConfig                  cfg     = getDomainConfig(domainName);
            final InstancesManager              im      = mgr.getInstancesManager(cfg);
            final int                           state   = im.getInstanceStatus();
            final String[]      domains = mgr.listDomains(cfg);
            boolean        exists  = false;
View Full Code Here

        final String featurePropClass = System.getProperty(
            ClientPluggableFeatureFactory.PLUGGABLE_FEATURES_PROPERTY_NAME,
            null);
         ClientPluggableFeatureFactoryImpl featureFactoryImpl =
            new ClientPluggableFeatureFactoryImpl(getLogger());
         ClientPluggableFeatureFactory featureFactory =
            (ClientPluggableFeatureFactory)featureFactoryImpl.getInstance(
            featurePropClass);
         return featureFactory;
     }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.admin.pluggable.ClientPluggableFeatureFactory

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.