@Configured public interface Property extends ConfigBeanProxy {
public String getTypeString(final Class<? extends ConfigBeanProxy> intf) { String type = null; final Configured configuredAnnotation = intf.getAnnotation(Configured.class); if (configuredAnnotation != null && configuredAnnotation.name().length() != 0) { type = configuredAnnotation.name(); if ( type == null || type.length() == 0 ) { throw new IllegalArgumentException("ConfigBeanJMXSupport.getTypeString(): Malformed @Configured annotation on " + intf.getName() ); } } else { final Package pkg = intf.getPackage(); String simple = intf.getName().substring(pkg.getName().length() + 1, intf.getName().length()); type = Util.typeFromName(simple); if ( type == null || type.length() == 0 ) { throw new IllegalArgumentException("ConfigBeanJMXSupport.getTypeString(): Malformed type generated from " + intf.getName() ); } } return type; }
@Configured public interface GenericConfig extends ConfigBeanProxy { @Attribute(key = true) String getName(); void setName(String name); @Element GenericConfig getGenericConfig(); void setGenericConfig(GenericConfig genericConfig); }
@Configured public interface GenericContainer extends ConfigBeanProxy { public static final int DEFAULT_THREAD_CORE_POOL_SIZE = 16; public static final int DEFAULT_THREAD_MAX_POOL_SIZE = 32; public static final long DEFAULT_THREAD_KEEP_ALIVE_SECONDS = 60; public static final int DEFAULT_THREAD_QUEUE_CAPACITY = Integer.MAX_VALUE; public static final boolean DEFAULT_ALLOW_CORE_THREAD_TIMEOUT = false; public static final boolean DEFAULT_PRESTART_ALL_CORE_THREADS = false; @Attribute (defaultValue="32") String getMaxPoolSize(); @Attribute (defaultValue="1234") long getStartupTime(); @Attribute (defaultValue="1234") int getIntValue(); @NotNull @Element public WebContainerAvailability getWebContainerAvailability(); void setWebContainerAvailability(WebContainerAvailability v); @Element("*") List<GenericConfig> getExtensions(); }
@Configured public interface SimpleConnector extends ConfigBeanProxy { public static final int DEFAULT_THREAD_CORE_POOL_SIZE = 16;
@Configured public interface EjbContainerAvailability extends ConfigBeanProxy {
@Configured public interface WebContainerAvailability extends ConfigBeanProxy {
/** * Super interface for any extension element to the {@link Cluster} configuration * @author Jerome Dochez */ @Configured public interface ClusterExtension extends Named, ConfigBeanProxy { }
/** * A domain.xml reference * * @author Jerome Dochez */ @Configured public interface Ref extends ConfigBeanProxy { public String getRef(); public void setRef(String refName) throws PropertyVetoException; }
/** * @author Jagadish Ramu */ @Configured public interface Characteristic extends ConfigBeanProxy, Injectable, Property { }
/** * ConfigExtension is an configuration extension that hooks itself under the * config configuration. This interface is just a tag interface that external * tools and third party software parts can subclass to be automatically stored * in the application server configuration file under the config element. * * @author Jerome Dochez */ @Configured public interface ConfigExtension extends Container { }
/** * ConfigExtension is an configuration extension that hooks itself under the * config configuration. This interface is just a tag interface that external * tools and third party software parts can subclass to be automatically stored * in the application server configuration file under the config element. * * @author Jerome Dochez */ @Configured public interface ConfigExtension extends Container { }
/** * A domain.xml reference * * @author Jerome Dochez */ @Configured public interface Ref extends ConfigBeanProxy { public String getRef(); public void setRef(String refName) throws PropertyVetoException; }
/** * @author Jagadish Ramu */ @Configured public interface Configuration extends ConfigBeanProxy, Injectable, Property { }
/** * @author Jagadish Ramu */ @Configured public interface Services extends ConfigBeanProxy, Injectable, DomainExtension, ApplicationExtension { @Element("*") public List<Service> getServices(); @Element("*") public List<ServiceRef> getServiceRefs(); }
/** * Defines a notion of groups that can be used to deploy applications to. */ @Configured public interface Groups extends ConfigBeanProxy { @Element List<String> getGroupNames(); }
/** * Created by IntelliJ IDEA. * User: cmott * Date: 4/6/12 */ @Configured public interface Elastic extends TenantService { @Element ElasticAlerts getElasticAlerts(); void setElasticAlerts(ElasticAlerts elasticAlerts); }
/** * Tag interface for container related configuration. Inheriting from this * interface allows glassfish to replicate the container configuration in * a clustered environment allowing per server configuration, etc... * * @author Jerome Dochez */ @Configured public interface Container extends ConfigBeanProxy { }
/** * Tag interface to extend the domain configuration * Any implementation of this interface will be stored under the domain.xml * root domain element. * * @author Jerome Dochez */ @Configured public interface DomainExtension extends ConfigBeanProxy { }