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_NAME
-
Fields inherited from interface org.jboss.as.naming.JndiViewManagedReferenceFactory
DEFAULT_JNDI_VIEW_INSTANCE_VALUE
-
-
Constructor Summary
Constructors Constructor Description ContextManagedReferenceFactory(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInstanceClassName()Retrieves the reference's object instance class name.StringgetJndiViewInstanceValue()Retrieves the reference's object instance JNDI View value.org.jboss.msc.value.InjectedValue<NamingStore>getNamingStoreInjectedValue()ManagedReferencegetReference()Get a new managed instance reference.
-
-
-
Constructor Detail
-
ContextManagedReferenceFactory
public ContextManagedReferenceFactory(String name)
-
-
Method Detail
-
getReference
public ManagedReference getReference()
Description copied from interface:ManagedReferenceFactoryGet a new managed instance reference.- Specified by:
getReferencein interfaceManagedReferenceFactory- Returns:
- a reference to a managed object
-
getNamingStoreInjectedValue
public org.jboss.msc.value.InjectedValue<NamingStore> getNamingStoreInjectedValue()
-
getInstanceClassName
public String 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
public String 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:
-
-