Klasse RoleEntryImpl

java.lang.Object
org.apache.fulcrum.yaafi.framework.role.RoleEntryImpl
Alle implementierten Schnittstellen:
RoleEntry

public class RoleEntryImpl extends Object implements RoleEntry
Interface exposed by the ServiceContainerImpl
Autor:
Siegfried Goeschl
  • 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 lookup
      defaultClass - the name of the implementation class of the service component
      shorthand - the short name of the service component
      earlyInit - do we incarnate the instance of the service component during start-up?
      description - a description for the service component if any
      componentType - the type of service component
      componentFlavour - the flavour of the gicen component type
      hasProxy - create a dynamic proxy
      interceptorList - the list of service interceptor to be invoked
      logCategory - the category for creating the logger
  • Methodendetails

    • getComponentType

      public String getComponentType()
      Angegeben von:
      getComponentType in Schnittstelle RoleEntry
      Gibt zurück:
      Returns the componentType.
    • getDescription

      public String getDescription()
      Angegeben von:
      getDescription in Schnittstelle RoleEntry
      Gibt zurück:
      Returns the description.
    • getImplementationClazzName

      public String getImplementationClazzName()
      Angegeben von:
      getImplementationClazzName in Schnittstelle RoleEntry
      Gibt zurück:
      Returns the implementationClazzName.
    • isEarlyInit

      public boolean isEarlyInit()
      Angegeben von:
      isEarlyInit in Schnittstelle RoleEntry
      Gibt zurück:
      Returns the isEarlyInit.
    • getName

      public String getName()
      Angegeben von:
      getName in Schnittstelle RoleEntry
      Gibt zurück:
      Returns the name.
    • getShorthand

      public String getShorthand()
      Angegeben von:
      getShorthand in Schnittstelle RoleEntry
      Gibt zurück:
      Returns the shorthand.
    • getComponentFlavour

      public String getComponentFlavour()
      Angegeben von:
      getComponentFlavour in Schnittstelle RoleEntry
      Gibt zurück:
      Returns the componentFlavour.
    • hasDynamicProxy

      public boolean hasDynamicProxy()
      Angegeben von:
      hasDynamicProxy in Schnittstelle RoleEntry
      Gibt zurück:
      Returns the hasDynamicProxy.
    • setHasDynamicProxy

      public void setHasDynamicProxy(boolean hasProxy)
      Angegeben von:
      setHasDynamicProxy in Schnittstelle RoleEntry
      Parameter:
      hasProxy - The hasDynamicProxy to set.
    • hasInterceptor

      public boolean hasInterceptor(String interceptorName)
      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

      public void addInterceptors(Collection<?> collection)
      Adds all given interceptors but avoiding duplicates.
      Angegeben von:
      addInterceptors in Schnittstelle RoleEntry
      Parameter:
      collection - the interceptors to be added
    • getInterceptorList

      public String[] getInterceptorList()
      Angegeben von:
      getInterceptorList in Schnittstelle RoleEntry
      Gibt zurück:
      Returns the interceptorList.
    • getLogCategory

      public String getLogCategory()
      Angegeben von:
      getLogCategory in Schnittstelle RoleEntry
      Gibt zurück:
      Returns the logCategory.
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object
      Siehe auch: