Package org.glassfish.config.support
Class TypeAndNameResolver
java.lang.Object
org.glassfish.config.support.TypeAndNameResolver
- All Implemented Interfaces:
CrudResolver
Resolver based on type + name.
- Author:
- Jerome Dochez
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glassfish.config.support.CrudResolver
CrudResolver.DefaultResolver -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final com.sun.enterprise.util.LocalStringManagerImpl -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
localStrings
protected static final com.sun.enterprise.util.LocalStringManagerImpl localStrings
-
-
Constructor Details
-
TypeAndNameResolver
public TypeAndNameResolver()
-
-
Method Details
-
resolve
public <T extends org.jvnet.hk2.config.ConfigBeanProxy> T resolve(org.glassfish.api.admin.AdminCommandContext context, Class<T> type) Description copied from interface:CrudResolverRetrieves the existing configuration object a command invocation is intented to mutate.- Specified by:
resolvein interfaceCrudResolver- Parameters:
context- the command invocation contexttype- the type of the expected instance- Returns:
- the instance or null if not found
-
name
-