org.vraptor.component
Interface ComponentType

All Superinterfaces:
Outjectable
All Known Implementing Classes:
ComponentTypeWrapper, DefaultComponentType

public interface ComponentType
extends Outjectable

Wrapper for a component type in vraptor.

Author:
Guilherme Silveira

Method Summary
 Class getComponentClass()
           
 BeanConstructor getConstructor()
          Returns this components contructor.
 String getDestroyLogicName()
          Deprecated. 
 List<FieldAnnotation<In>> getInAnnotations()
           
 List<InterceptorType> getInterceptors()
          Returns all interceptors for this component class
 String getKey()
          Deprecated. 
 LogicMethod getLogic(String key)
          Returns a specifig logic from this component
 Collection<LogicMethod> getLogics()
          Returns all actions.
 String getName()
          Returns the component name
 List<ReadParameter> getReadParameters()
           
 ScopeType getScope()
           
 
Methods inherited from interface org.vraptor.component.Outjectable
getOutjectedValues
 

Method Detail

getScope

ScopeType getScope()

getName

String getName()
Returns the component name

Returns:
the name

getLogic

LogicMethod getLogic(String key)
                     throws LogicNotFoundException
Returns a specifig logic from this component

Parameters:
key - the logic name
Returns:
the logic itself
Throws:
LogicNotFoundException - you are asking for something that doesn't belong to me

getInterceptors

List<InterceptorType> getInterceptors()
Returns all interceptors for this component class

Returns:
the interceptor's list

getInAnnotations

List<FieldAnnotation<In>> getInAnnotations()
Returns:
Returns the inAnnotations.

getReadParameters

List<ReadParameter> getReadParameters()
Returns:
Returns the read parameters for this class.

getLogics

Collection<LogicMethod> getLogics()
                                  throws LogicNotFoundException
Returns all actions.

Returns:
all logics
Throws:
LogicNotFoundException

getComponentClass

Class getComponentClass()

getKey

@Deprecated
String getKey()
Deprecated. 


getDestroyLogicName

@Deprecated
String getDestroyLogicName()
Deprecated. 


getConstructor

BeanConstructor getConstructor()
Returns this components contructor.

Returns:
the contructor
Since:
2.2.4


Copyright © 2004-2008 VRaptor. All Rights Reserved.