public class WebComponent
extends java.lang.Object
implements org.fabric3.spi.container.component.Component
| Constructor and Description |
|---|
WebComponent(java.net.URI uri,
java.lang.String contextUrl,
javax.xml.namespace.QName deployable,
java.net.URI archiveUri,
java.lang.ClassLoader classLoader,
InjectorFactory injectorFactory,
org.fabric3.container.web.spi.WebApplicationActivator activator,
org.fabric3.implementation.pojo.spi.proxy.WireProxyService wireProxyService,
org.fabric3.implementation.pojo.spi.proxy.ChannelProxyService channelProxyService,
java.util.Map<java.lang.String,org.fabric3.spi.container.objectfactory.ObjectFactory<?>> propertyFactories,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,org.fabric3.api.model.type.java.InjectionSite>> injectorMappings,
org.fabric3.api.host.runtime.HostInfo info) |
| Modifier and Type | Method and Description |
|---|---|
void |
attach(java.lang.String name,
org.fabric3.spi.container.objectfactory.ObjectFactory<?> factory) |
void |
attachWire(java.lang.String name,
org.fabric3.spi.container.wire.Wire wire) |
<B,R extends org.oasisopen.sca.ServiceReference<B>> |
cast(B target) |
void |
connect(java.lang.String name,
org.fabric3.spi.container.channel.ChannelConnection connection) |
void |
endUpdate() |
java.net.URI |
getClassLoaderId() |
javax.xml.namespace.QName |
getDeployable() |
org.fabric3.api.annotation.monitor.MonitorLevel |
getLevel() |
java.lang.String |
getName() |
<B> B |
getProperty(java.lang.Class<B> type,
java.lang.String propertyName) |
java.net.URI |
getUri() |
void |
setClassLoaderId(java.net.URI classLoaderId) |
void |
setLevel(org.fabric3.api.annotation.monitor.MonitorLevel level) |
void |
start() |
void |
startUpdate() |
void |
stop() |
java.lang.String |
toString() |
public WebComponent(java.net.URI uri,
java.lang.String contextUrl,
javax.xml.namespace.QName deployable,
java.net.URI archiveUri,
java.lang.ClassLoader classLoader,
InjectorFactory injectorFactory,
org.fabric3.container.web.spi.WebApplicationActivator activator,
org.fabric3.implementation.pojo.spi.proxy.WireProxyService wireProxyService,
org.fabric3.implementation.pojo.spi.proxy.ChannelProxyService channelProxyService,
java.util.Map<java.lang.String,org.fabric3.spi.container.objectfactory.ObjectFactory<?>> propertyFactories,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,org.fabric3.api.model.type.java.InjectionSite>> injectorMappings,
org.fabric3.api.host.runtime.HostInfo info)
public java.net.URI getUri()
getUri in interface org.fabric3.spi.container.component.Componentpublic java.net.URI getClassLoaderId()
getClassLoaderId in interface org.fabric3.spi.container.component.Componentpublic void setClassLoaderId(java.net.URI classLoaderId)
setClassLoaderId in interface org.fabric3.spi.container.component.Componentpublic java.lang.String getName()
getName in interface org.fabric3.api.host.monitor.Monitorablepublic org.fabric3.api.annotation.monitor.MonitorLevel getLevel()
getLevel in interface org.fabric3.api.host.monitor.Monitorablepublic void setLevel(org.fabric3.api.annotation.monitor.MonitorLevel level)
setLevel in interface org.fabric3.api.host.monitor.Monitorablepublic void start()
throws org.fabric3.spi.container.component.ComponentException
start in interface org.fabric3.spi.container.component.Componentorg.fabric3.spi.container.component.ComponentExceptionpublic void stop()
throws org.fabric3.spi.container.component.ComponentException
stop in interface org.fabric3.spi.container.component.Componentorg.fabric3.spi.container.component.ComponentExceptionpublic void startUpdate()
startUpdate in interface org.fabric3.spi.container.component.Componentpublic void endUpdate()
endUpdate in interface org.fabric3.spi.container.component.Componentpublic void attachWire(java.lang.String name,
org.fabric3.spi.container.wire.Wire wire)
throws org.fabric3.spi.container.objectfactory.ObjectCreationException
org.fabric3.spi.container.objectfactory.ObjectCreationExceptionpublic void attach(java.lang.String name,
org.fabric3.spi.container.objectfactory.ObjectFactory<?> factory)
throws org.fabric3.spi.container.objectfactory.ObjectCreationException
org.fabric3.spi.container.objectfactory.ObjectCreationExceptionpublic void connect(java.lang.String name,
org.fabric3.spi.container.channel.ChannelConnection connection)
throws org.fabric3.spi.container.objectfactory.ObjectCreationException
org.fabric3.spi.container.objectfactory.ObjectCreationExceptionpublic javax.xml.namespace.QName getDeployable()
getDeployable in interface org.fabric3.spi.container.component.Componentpublic <B> B getProperty(java.lang.Class<B> type,
java.lang.String propertyName)
throws org.fabric3.spi.container.objectfactory.ObjectCreationException
org.fabric3.spi.container.objectfactory.ObjectCreationExceptionpublic <B,R extends org.oasisopen.sca.ServiceReference<B>> R cast(B target)
public java.lang.String toString()
toString in class java.lang.Object