public class ReflectiveClassIntrospector extends Object implements EEClassIntrospector, org.jboss.msc.service.Service<EEClassIntrospector>
Modifier and Type | Field and Description |
---|---|
static RuntimePermission |
CHECK_MEMBER_ACCESS_PERMISSION |
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
Constructor and Description |
---|
ReflectiveClassIntrospector()
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
ManagedReferenceFactory |
createFactory(Class<?> clazz) |
ManagedReference |
createInstance(Object instance) |
EEClassIntrospector |
getValue() |
void |
start(org.jboss.msc.service.StartContext startContext) |
void |
stop(org.jboss.msc.service.StopContext stopContext) |
public static final org.jboss.msc.service.ServiceName SERVICE_NAME
public static final RuntimePermission CHECK_MEMBER_ACCESS_PERMISSION
public ReflectiveClassIntrospector()
SecurityException
- if the security manager is present and the runtime accessDeclaredMembers
access
is not grantedpublic ManagedReferenceFactory createFactory(Class<?> clazz)
createFactory
in interface EEClassIntrospector
public ManagedReference createInstance(Object instance)
createInstance
in interface EEClassIntrospector
public void start(org.jboss.msc.service.StartContext startContext) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<EEClassIntrospector>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext stopContext)
stop
in interface org.jboss.msc.service.Service<EEClassIntrospector>
public EEClassIntrospector getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<EEClassIntrospector>
IllegalStateException
IllegalArgumentException
Copyright © 2018 JBoss by Red Hat. All rights reserved.