Package org.jboss.as.naming
Class ContextManagedReferenceFactory
java.lang.Object
org.jboss.as.naming.ContextManagedReferenceFactory
- All Implemented Interfaces:
ContextListAndJndiViewManagedReferenceFactory,ContextListManagedReferenceFactory,JndiViewManagedReferenceFactory,ManagedReferenceFactory
public class ContextManagedReferenceFactory
extends Object
implements ContextListAndJndiViewManagedReferenceFactory
Managed reference factory used for binding a context.
- Author:
- Stuart Douglas, Eduardo Martins
-
Field Summary
Fields inherited from interface org.jboss.as.naming.ContextListManagedReferenceFactory
DEFAULT_INSTANCE_CLASS_NAMEFields inherited from interface org.jboss.as.naming.JndiViewManagedReferenceFactory
DEFAULT_JNDI_VIEW_INSTANCE_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the reference's object instance class name.Retrieves the reference's object instance JNDI View value.org.jboss.msc.value.InjectedValue<NamingStore>Get a new managed instance reference.
-
Constructor Details
-
ContextManagedReferenceFactory
-
-
Method Details
-
getReference
Description copied from interface:ManagedReferenceFactoryGet a new managed instance reference.- Specified by:
getReferencein interfaceManagedReferenceFactory- Returns:
- a reference to a managed object
-
getNamingStoreInjectedValue
-
getInstanceClassName
Description copied from interface:ContextListManagedReferenceFactoryRetrieves the reference's object instance class name. If it's impossible to obtain such data, the factory should return the static attribute DEFAULT_INSTANCE_CLASS_NAME, exposed by this interface.- Specified by:
getInstanceClassNamein interfaceContextListManagedReferenceFactory- Returns:
-
getJndiViewInstanceValue
Description copied from interface:JndiViewManagedReferenceFactoryRetrieves the reference's object instance JNDI View value. If it's not possible to obtain such data, the factory should return the static attribute DEFAULT_JNDI_VIEW_INSTANCE_VALUE, exposed by this interface.- Specified by:
getJndiViewInstanceValuein interfaceJndiViewManagedReferenceFactory- Returns:
-