Refine search
@Contract public interface DomDecorator<T extends Dom> { public Dom decorate(ServiceLocator habitat, DomDocument document, T parent, ConfigModel model, XMLStreamReader in); }
/** * Populates {@link Habitat}. * * {@link Populator} gets to run right after the {@link Habitat} is * created. Implementations can use this timing to introduce * additional inhabitants, for example by loading some config file. * * @author Kohsuke Kawaguchi */ @Contract public interface Populator { public void run(ConfigParser parser) throws ConfigPopulatorException; }
@Contract public interface ConfigExtensionHandler<T extends ConfigBeanProxy> { public T handleExtension(Object owner, Class<T> extensionType, Object[] params); }
/** * Provides {@link Configured} bean integration with * external configuration systems and providers. * * @author Jeff Trent */ @Contract public interface ConfigTransactionFactory { /** * Gets the active transaction, optionally creating * a new transaction if no transaction is active. * * @param create * indicates that a new transaction should be * started if no active transaction open yet * @return the ConfigTransaction */ ConfigTransaction getActiveTransaction(boolean create); }
/** * Listener interface for objects interested in transaction events on the config beans. * * @author Jerome Dochez */ @Contract public interface TransactionListener { /** * Notification of a transaction with the list of property changes. * * @param changes */ public void transactionCommited(List<PropertyChangeEvent> changes); /** * Nofication of unprocessed events by ConfigListener, usually requiring a server * restart. * * @param changes */ public void unprocessedTransactedEvents(List<UnprocessedChangeEvents> changes); }
/** * Denotes the <code>type</code> of the data a particular config * element (attribute, element) should have. This interface should be * implemented whenever a need arises to check if * an abstract data type can be represented as a given <code> String </code>. * The implementations of a DataType are mapped by their <code> names </code> elsewhere. * Implementations should provide functional implementation of the #validate method * and must have a public parameterless constructor (except possibly for primitives). * * @author केदार (km@dev.java.net) * @see PrimitiveDataType * @see WriteableView * @since hk2 0.3.10 */ @Contract public interface DataType { /** Checks if given value can be had by the abstract data type represented * by this implementation. * @param value String representing the value for this DataType * @throws org.jvnet.hk2.config.ValidationException if given String does * not represent this data type. */ public void validate(String value) throws ValidationException; }
/** * @author jwells * */ @Contract public interface ConfigurationUtilities { /** * Adds this child bean to the parent with the given attributes. Does not * start or end a configuration transaction * * @param param * @param parent * @param childType * @param attributes * @param runnable * @return * @throws TransactionFailure */ public Object addChildWithAttributes(ConfigBeanProxy param, ConfigBean parent, Class<? extends ConfigBeanProxy> childType, List<AttributeChanges> attributes, TransactionCallBack<WriteableView> runnable) throws TransactionFailure; }
@Contract public interface PropertyBagCustomizer { public static final String DEFAULT_IMPLEMENTATION = "system default";
@Contract public interface ConfigListener {
@Contract public interface ConfigBeanProxyCustomizer { public static final String DEFAULT_IMPLEMENTATION = "system default";
@Contract public abstract class ConfigInjector<T> {
@Contract @Named(PropertyBagCustomizer.DEFAULT_IMPLEMENTATION) public class PropertyBagCustomizerImpl implements PropertyBagCustomizer {
/** * Implementations of this interface are responsible for servicing * a file residing on the local file system to a Response object. * * @author Jerome Dochez */ @Contract public interface FileServer { }
/** * Service interface to define the version info for an installed product. * */ @Contract public interface VersionInfo { public String getAbbreviatedProductName(); public String getVersionPrefix(); public String getMajorVersion(); public String getMinorVersion(); }
/** * This class is an alternative to ComponentInvocationHandler. * This could be implemented by classes that are to be loaded independently of the * web container. * */ @Contract public interface RegisteredComponentInvocationHandler{ public ComponentInvocationHandler getComponentInvocationHandler(); public void register(); }
/** * @author Mahesh Kannan * Date: Feb 28, 2008 */ @Contract public interface NamedNamingObjectProxy { /** * Returns the name that will be used to publish this object in the naming manager * @return the name to bind */ public Object handle(String name) throws NamingException; }
/** * Defines a pluggability facility to retrieve annotation types from various * containers. */ @Contract public interface AnnotationTypesProvider { public Class<? extends Annotation>[] getAnnotationTypes(); public Class getType(String typename) throws ClassNotFoundException; }
/** * * @author vbkumarjayanti */ @Contract public interface CNonceCacheFactory { public static final String CLUSTER_NAME_PROP="cluster_name"; public static final String INSTANCE_NAME_PROP="instance_name"; public CNonceCache createCNonceCache(String appName, String clusterName, String instanceName, String storeName); }
@Contract public interface CMPDeployer { void deploy(DeploymentContext ctx) throws DeploymentException; void clean(DeploymentContext ctx); void unload(ClassLoader cl); String MODULE_CLASSPATH = "org.glassfish.ejb.spi.module.classpath"; }
@Contract public interface JavaEEContainerManager { public void registerContainer(String componentId, JavaEEContainer container); public void unregisterContainer(String componentId); public JavaEEContainer getContainerFor(String componentId); }