|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fulcrum.yaafi.framework.role.RoleEntryImpl
public class RoleEntryImpl
Interface exposed by the ServiceContainerImpl
Constructor Summary | |
---|---|
RoleEntryImpl(String name,
String defaultClass,
String shorthand,
boolean earlyInit,
String description,
String componentType,
String componentFlavour,
boolean hasProxy,
ArrayList interceptorList,
String logCategory)
YAAFI role entry |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RoleEntryImpl(String name, String defaultClass, String shorthand, boolean earlyInit, String description, String componentType, String componentFlavour, boolean hasProxy, ArrayList 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 loggerMethod Detail |
---|
public 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 getName()
getName
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 interceptor
public 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |