Klasse RoleEntryImpl
java.lang.Object
org.apache.fulcrum.yaafi.framework.role.RoleEntryImpl
- Alle implementierten Schnittstellen:
RoleEntry
Interface exposed by the ServiceContainerImpl
- Autor:
- Siegfried Goeschl
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddInterceptors(Collection<?> collection) Adds all given interceptors but avoiding duplicates.String[]getName()booleanbooleanhasInterceptor(String interceptorName) Determines if the given name of the interceptor is already defined.booleanvoidsetHasDynamicProxy(boolean hasProxy) toString()
-
Konstruktordetails
-
RoleEntryImpl
public 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- Parameter:
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 logger
-
-
Methodendetails
-
getComponentType
- Angegeben von:
getComponentTypein SchnittstelleRoleEntry- Gibt zurück:
- Returns the componentType.
-
getDescription
- Angegeben von:
getDescriptionin SchnittstelleRoleEntry- Gibt zurück:
- Returns the description.
-
getImplementationClazzName
- Angegeben von:
getImplementationClazzNamein SchnittstelleRoleEntry- Gibt zurück:
- Returns the implementationClazzName.
-
isEarlyInit
public boolean isEarlyInit()- Angegeben von:
isEarlyInitin SchnittstelleRoleEntry- Gibt zurück:
- Returns the isEarlyInit.
-
getName
-
getShorthand
- Angegeben von:
getShorthandin SchnittstelleRoleEntry- Gibt zurück:
- Returns the shorthand.
-
getComponentFlavour
- Angegeben von:
getComponentFlavourin SchnittstelleRoleEntry- Gibt zurück:
- Returns the componentFlavour.
-
hasDynamicProxy
public boolean hasDynamicProxy()- Angegeben von:
hasDynamicProxyin SchnittstelleRoleEntry- Gibt zurück:
- Returns the hasDynamicProxy.
-
setHasDynamicProxy
public void setHasDynamicProxy(boolean hasProxy) - Angegeben von:
setHasDynamicProxyin SchnittstelleRoleEntry- Parameter:
hasProxy- The hasDynamicProxy to set.
-
hasInterceptor
Determines if the given name of the interceptor is already defined.- Parameter:
interceptorName- the name of the interceptor- Gibt zurück:
- true if it is already defined
-
addInterceptors
Adds all given interceptors but avoiding duplicates.- Angegeben von:
addInterceptorsin SchnittstelleRoleEntry- Parameter:
collection- the interceptors to be added
-
getInterceptorList
- Angegeben von:
getInterceptorListin SchnittstelleRoleEntry- Gibt zurück:
- Returns the interceptorList.
-
getLogCategory
- Angegeben von:
getLogCategoryin SchnittstelleRoleEntry- Gibt zurück:
- Returns the logCategory.
-
toString
-