Package org.jboss.as.ee.component
Class ReflectiveClassIntrospector
java.lang.Object
org.jboss.as.ee.component.ReflectiveClassIntrospector
- All Implemented Interfaces:
EEClassIntrospector,org.jboss.msc.Service,org.jboss.msc.service.Service<EEClassIntrospector>,org.jboss.msc.value.Value<EEClassIntrospector>
public class ReflectiveClassIntrospector
extends Object
implements EEClassIntrospector, org.jboss.msc.service.Service<EEClassIntrospector>
- Author:
- Stuart Douglas
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RuntimePermissionstatic final org.jboss.msc.service.ServiceNameFields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFactory(Class<?> clazz) createInstance(Object instance) Returns the managed reference of an new instance.getInstance(Object instance) Returns the managed reference of an existing instance.getValue()voidstart(org.jboss.msc.service.StartContext startContext) voidstop(org.jboss.msc.service.StopContext stopContext)
-
Field Details
-
SERVICE_NAME
public static final org.jboss.msc.service.ServiceName SERVICE_NAME -
CHECK_MEMBER_ACCESS_PERMISSION
-
-
Constructor Details
-
ReflectiveClassIntrospector
public ReflectiveClassIntrospector()Constructs a new instance.- Throws:
SecurityException- if the security manager is present and the runtimeaccessDeclaredMembersaccess is not granted
-
-
Method Details
-
createFactory
- Specified by:
createFactoryin interfaceEEClassIntrospector
-
createInstance
Description copied from interface:EEClassIntrospectorReturns the managed reference of an new instance.- Specified by:
createInstancein interfaceEEClassIntrospector- Parameters:
instance- an object instance- Returns:
- a managed reference
-
getInstance
Description copied from interface:EEClassIntrospectorReturns the managed reference of an existing instance.- Specified by:
getInstancein interfaceEEClassIntrospector- Parameters:
instance- an object instance- Returns:
- a managed reference
-
start
public void start(org.jboss.msc.service.StartContext startContext) throws org.jboss.msc.service.StartException - Specified by:
startin interfaceorg.jboss.msc.Service- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext stopContext) - Specified by:
stopin interfaceorg.jboss.msc.Service
-
getValue
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<EEClassIntrospector>- Throws:
IllegalStateExceptionIllegalArgumentException
-