public class BasicComponentCreateService extends Object implements org.jboss.msc.service.Service<Component>
| Constructor and Description |
|---|
BasicComponentCreateService(ComponentConfiguration componentConfiguration)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected BasicComponent |
createComponent()
Create the component.
|
Class<?> |
getComponentClass()
Get the component class.
|
Map<Method,org.jboss.invocation.InterceptorFactory> |
getComponentInterceptors()
Get the component interceptor factory map.
|
String |
getComponentName()
Get the component name.
|
org.jboss.msc.value.InjectedValue<org.jboss.as.server.deployment.DeploymentUnit> |
getDeploymentUnitInjector()
Get the deployment unit injector.
|
NamespaceContextSelector |
getNamespaceContextSelector() |
org.jboss.invocation.InterceptorFactory |
getPostConstruct()
Get the post-construct interceptor factory.
|
org.jboss.invocation.InterceptorFactory |
getPreDestroy()
Get the pre-destroy interceptor factory.
|
org.jboss.msc.service.ServiceName |
getServiceName() |
Component |
getValue() |
protected boolean |
requiresInterceptors(Method method,
ComponentConfiguration componentConfiguration) |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public BasicComponentCreateService(ComponentConfiguration componentConfiguration)
componentConfiguration - the component configurationprotected boolean requiresInterceptors(Method method, ComponentConfiguration componentConfiguration)
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.Serviceorg.jboss.msc.service.StartExceptionprotected BasicComponent createComponent()
public void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.Servicepublic Component getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<Component>IllegalStateExceptionIllegalArgumentExceptionpublic org.jboss.msc.value.InjectedValue<org.jboss.as.server.deployment.DeploymentUnit> getDeploymentUnitInjector()
public String getComponentName()
public org.jboss.invocation.InterceptorFactory getPostConstruct()
public org.jboss.invocation.InterceptorFactory getPreDestroy()
public Map<Method,org.jboss.invocation.InterceptorFactory> getComponentInterceptors()
public Class<?> getComponentClass()
public NamespaceContextSelector getNamespaceContextSelector()
public org.jboss.msc.service.ServiceName getServiceName()
Copyright © 2019 JBoss by Red Hat. All rights reserved.