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 TypMethodeBeschreibungvoid
addInterceptors
(Collection<?> collection) Adds all given interceptors but avoiding duplicates.String[]
getName()
boolean
boolean
hasInterceptor
(String interceptorName) Determines if the given name of the interceptor is already defined.boolean
void
setHasDynamicProxy
(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:
getComponentType
in SchnittstelleRoleEntry
- Gibt zurück:
- Returns the componentType.
-
getDescription
- Angegeben von:
getDescription
in SchnittstelleRoleEntry
- Gibt zurück:
- Returns the description.
-
getImplementationClazzName
- Angegeben von:
getImplementationClazzName
in SchnittstelleRoleEntry
- Gibt zurück:
- Returns the implementationClazzName.
-
isEarlyInit
public boolean isEarlyInit()- Angegeben von:
isEarlyInit
in SchnittstelleRoleEntry
- Gibt zurück:
- Returns the isEarlyInit.
-
getName
-
getShorthand
- Angegeben von:
getShorthand
in SchnittstelleRoleEntry
- Gibt zurück:
- Returns the shorthand.
-
getComponentFlavour
- Angegeben von:
getComponentFlavour
in SchnittstelleRoleEntry
- Gibt zurück:
- Returns the componentFlavour.
-
hasDynamicProxy
public boolean hasDynamicProxy()- Angegeben von:
hasDynamicProxy
in SchnittstelleRoleEntry
- Gibt zurück:
- Returns the hasDynamicProxy.
-
setHasDynamicProxy
public void setHasDynamicProxy(boolean hasProxy) - Angegeben von:
setHasDynamicProxy
in 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:
addInterceptors
in SchnittstelleRoleEntry
- Parameter:
collection
- the interceptors to be added
-
getInterceptorList
- Angegeben von:
getInterceptorList
in SchnittstelleRoleEntry
- Gibt zurück:
- Returns the interceptorList.
-
getLogCategory
- Angegeben von:
getLogCategory
in SchnittstelleRoleEntry
- Gibt zurück:
- Returns the logCategory.
-
toString
-