public class RoleEntryImpl extends Object implements RoleEntry
Constructor and Description |
---|
RoleEntryImpl(String name,
String defaultClass,
String shorthand,
boolean earlyInit,
String description,
String componentType,
String componentFlavour,
boolean hasProxy,
ArrayList<String> interceptorList,
String logCategory)
YAAFI role entry
|
Modifier and Type | Method and Description |
---|---|
void |
addInterceptors(Collection<?> collection)
Adds all given interceptors but avoiding duplicates.
|
String |
getComponentFlavour() |
String |
getComponentType() |
String |
getDescription() |
String |
getImplementationClazzName() |
String[] |
getInterceptorList() |
String |
getLogCategory() |
String |
getName() |
String |
getShorthand() |
boolean |
hasDynamicProxy() |
boolean |
hasInterceptor(String interceptorName)
Determines if the given name of the interceptor is already defined.
|
boolean |
isEarlyInit() |
void |
setHasDynamicProxy(boolean hasProxy) |
String |
toString() |
public RoleEntryImpl(String name, String defaultClass, String shorthand, boolean earlyInit, String description, String componentType, String componentFlavour, boolean hasProxy, ArrayList<String> interceptorList, 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 String getComponentType()
getComponentType
in interface RoleEntry
public String getDescription()
getDescription
in interface RoleEntry
public String getImplementationClazzName()
getImplementationClazzName
in interface RoleEntry
public boolean isEarlyInit()
isEarlyInit
in interface RoleEntry
public String getShorthand()
getShorthand
in interface RoleEntry
public 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(String interceptorName)
interceptorName
- the name of the interceptorpublic void addInterceptors(Collection<?> collection)
addInterceptors
in interface RoleEntry
collection
- the interceptors to be addedpublic String[] getInterceptorList()
getInterceptorList
in interface RoleEntry
public String getLogCategory()
getLogCategory
in interface RoleEntry
public String toString()
toString
in class Object
Object.toString()
Copyright © 2004–1970 The Apache Software Foundation. All rights reserved.