public class WebComponentInstantiator extends Object implements ComponentInstantiator
Constructor and Description |
---|
WebComponentInstantiator(DeploymentUnit deploymentUnit,
ComponentDescription componentDescription) |
Modifier and Type | Method and Description |
---|---|
ManagedReference |
getReference()
Get a new managed instance reference.
|
Set<org.jboss.msc.service.ServiceName> |
getServiceNames()
Gets the services that this component depends on
|
ManagedReference |
initializeInstance(Object instance)
Initialize an existing instance that the container has created
|
public WebComponentInstantiator(DeploymentUnit deploymentUnit, ComponentDescription componentDescription)
public ManagedReference getReference()
ManagedReferenceFactory
getReference
in interface ManagedReferenceFactory
public Set<org.jboss.msc.service.ServiceName> getServiceNames()
ComponentInstantiator
getServiceNames
in interface ComponentInstantiator
public ManagedReference initializeInstance(Object instance)
ComponentInstantiator
initializeInstance
in interface ComponentInstantiator
instance
- The instance to initializeCopyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.