public class RoleEntryImpl extends java.lang.Object implements RoleEntry
Constructor and Description |
---|
RoleEntryImpl(java.lang.String name,
java.lang.String defaultClass,
java.lang.String shorthand,
boolean earlyInit,
java.lang.String description,
java.lang.String componentType,
java.lang.String componentFlavour,
boolean hasProxy,
java.util.ArrayList interceptorList,
java.lang.String logCategory)
YAAFI role entry
|
Modifier and Type | Method and Description |
---|---|
void |
addInterceptors(java.util.Collection collection)
Adds all given interceptors but avoiding duplicates.
|
java.lang.String |
getComponentFlavour() |
java.lang.String |
getComponentType() |
java.lang.String |
getDescription() |
java.lang.String |
getImplementationClazzName() |
java.lang.String[] |
getInterceptorList() |
java.lang.String |
getLogCategory() |
java.lang.String |
getName() |
java.lang.String |
getShorthand() |
boolean |
hasDynamicProxy() |
boolean |
hasInterceptor(java.lang.String interceptorName)
Determines if the given name of the interceptor is already defined.
|
boolean |
isEarlyInit() |
void |
setHasDynamicProxy(boolean hasProxy) |
java.lang.String |
toString() |
public RoleEntryImpl(java.lang.String name, java.lang.String defaultClass, java.lang.String shorthand, boolean earlyInit, java.lang.String description, java.lang.String componentType, java.lang.String componentFlavour, boolean hasProxy, java.util.ArrayList interceptorList, java.lang.String logCategory)
name
- the name of the service component to be used for the service lookupdefaultClass
- the name of the implementation class of the service componentshorthand
- the short name of the service componentearlyInit
- do we incarnate the instance of the service component during start-up?description
- a description for the service component if anycomponentType
- the type of service componentcomponentFlavour
- the flavour of the gicen component typehasProxy
- create a dynamic proxyinterceptorList
- the list of service interceptor to be invokedlogCategory
- the category for creating the loggerpublic java.lang.String getComponentType()
getComponentType
in interface RoleEntry
public java.lang.String getDescription()
getDescription
in interface RoleEntry
public java.lang.String getImplementationClazzName()
getImplementationClazzName
in interface RoleEntry
public boolean isEarlyInit()
isEarlyInit
in interface RoleEntry
public java.lang.String getName()
public java.lang.String getShorthand()
getShorthand
in interface RoleEntry
public java.lang.String getComponentFlavour()
getComponentFlavour
in interface RoleEntry
public boolean hasDynamicProxy()
hasDynamicProxy
in interface RoleEntry
public void setHasDynamicProxy(boolean hasProxy)
setHasDynamicProxy
in interface RoleEntry
hasProxy
- The hasDynamicProxy to set.public boolean hasInterceptor(java.lang.String interceptorName)
interceptorName
- the name of the interceptorpublic void addInterceptors(java.util.Collection collection)
addInterceptors
in interface RoleEntry
collection
- the interceptors to be addedpublic java.lang.String[] getInterceptorList()
getInterceptorList
in interface RoleEntry
public java.lang.String getLogCategory()
getLogCategory
in interface RoleEntry
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.