public class ViewDescription extends Object
Modifier and Type | Field and Description |
---|---|
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)
Create the injection source
|
ViewConfiguration |
createViewConfiguration(Class<?> viewClass,
ComponentConfiguration componentConfiguration,
org.jboss.invocation.proxy.ProxyFactory<?> proxyFactory)
Creates view configuration.
|
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.
|
boolean |
isSerializable() |
boolean |
isUseWriteReplace() |
void |
setSerializable(boolean serializable) |
void |
setUseWriteReplace(boolean useWriteReplace) |
String |
toString() |
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)
serviceName
- The view service namepublic boolean isSerializable()
public void setSerializable(boolean serializable)
public boolean isUseWriteReplace()
public void setUseWriteReplace(boolean useWriteReplace)
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.