public class ViewDescription extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BRIDGE |
static org.jboss.invocation.ImmediateInterceptorFactory |
CLIENT_DISPATCHER_INTERCEPTOR_FACTORY |
Constructor and Description |
---|
ViewDescription(ComponentDescription componentDescription,
String viewClassName)
Construct a new instance.
|
ViewDescription(ComponentDescription componentDescription,
String viewClassName,
boolean defaultConfiguratorRequired)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected InjectionSource |
createInjectionSource(org.jboss.msc.service.ServiceName serviceName,
org.jboss.msc.value.Value<ClassLoader> viewClassLoader)
Create the injection source
|
ViewConfiguration |
createViewConfiguration(Class<?> viewClass,
ComponentConfiguration componentConfiguration,
org.jboss.invocation.proxy.ProxyFactory<?> proxyFactory)
Creates view configuration.
|
boolean |
equals(Object o) |
Set<String> |
getBindingNames()
Get the set of binding names for this view.
|
ComponentDescription |
getComponentDescription()
Get the associated component description.
|
Deque<ViewConfigurator> |
getConfigurators()
Get the configurators for this view.
|
org.jboss.msc.service.ServiceName |
getServiceName()
Get the service name for this view.
|
String |
getViewClassName()
Get the view's class name.
|
List<String> |
getViewNameParts()
Get the strings to append to the view base name.
|
int |
hashCode() |
boolean |
isSerializable() |
boolean |
isUseWriteReplace() |
void |
setSerializable(boolean serializable) |
void |
setUseWriteReplace(boolean useWriteReplace) |
String |
toString() |
public static final int BRIDGE
public static final org.jboss.invocation.ImmediateInterceptorFactory CLIENT_DISPATCHER_INTERCEPTOR_FACTORY
public ViewDescription(ComponentDescription componentDescription, String viewClassName)
componentDescription
- the associated component descriptionviewClassName
- the view class namepublic ViewDescription(ComponentDescription componentDescription, String viewClassName, boolean defaultConfiguratorRequired)
componentDescription
- the associated component descriptionviewClassName
- the view class namedefaultConfiguratorRequired
- public String getViewClassName()
public ComponentDescription getComponentDescription()
public List<String> getViewNameParts()
"VIEW"
followed by these strings.public org.jboss.msc.service.ServiceName getServiceName()
public ViewConfiguration createViewConfiguration(Class<?> viewClass, ComponentConfiguration componentConfiguration, org.jboss.invocation.proxy.ProxyFactory<?> proxyFactory)
viewClass
- view classcomponentConfiguration
- component configproxyFactory
- proxy factorypublic Set<String> getBindingNames()
public Deque<ViewConfigurator> getConfigurators()
protected InjectionSource createInjectionSource(org.jboss.msc.service.ServiceName serviceName, org.jboss.msc.value.Value<ClassLoader> viewClassLoader)
serviceName
- The view service nameviewClassLoader
- public boolean isSerializable()
public void setSerializable(boolean serializable)
public boolean isUseWriteReplace()
public void setUseWriteReplace(boolean useWriteReplace)
Copyright © 2017 JBoss by Red Hat. All rights reserved.