org.jboss.webbeans.bean.standard
Class ManagerBean

java.lang.Object
  extended by javax.inject.manager.Bean<T>
      extended by org.jboss.webbeans.bean.RIBean<T>
          extended by org.jboss.webbeans.bean.standard.AbstractStandardBean<ManagerImpl>
              extended by org.jboss.webbeans.bean.standard.ManagerBean
All Implemented Interfaces:
Contextual<ManagerImpl>

public class ManagerBean
extends AbstractStandardBean<ManagerImpl>


Constructor Summary
protected ManagerBean(ManagerImpl manager)
           
 
Method Summary
 ManagerImpl create(CreationalContext<ManagerImpl> creationalContext)
          Create a new instance of the contextual type
 void destroy(ManagerImpl instance)
          Destroys an instance of the contexual type
 java.lang.Class<ManagerImpl> getType()
           
 java.util.Set<java.lang.reflect.Type> getTypes()
          The client-visible types of a bean
 boolean isSerializable()
          The serializability of a bean
static ManagerBean of(ManagerImpl manager)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jboss.webbeans.bean.standard.AbstractStandardBean
getBindings, getDeploymentType, getId, getInjectionPoints, getName, getScopeType, getSpecializedBean, initialize, isNullable, isPrimitive, isProxyable, isSpecializing
 
Methods inherited from class org.jboss.webbeans.bean.RIBean
createId, equals, getManager, hashCode, isDependent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ManagerBean

protected ManagerBean(ManagerImpl manager)
Method Detail

of

public static final ManagerBean of(ManagerImpl manager)

create

public ManagerImpl create(CreationalContext<ManagerImpl> creationalContext)
Description copied from interface: Contextual
Create a new instance of the contextual type

Parameters:
creationalContext - the creational context in which incompletely initialized contexts may be placed
Returns:
the contextual instance

getType

public java.lang.Class<ManagerImpl> getType()
Specified by:
getType in class RIBean<ManagerImpl>

getTypes

public java.util.Set<java.lang.reflect.Type> getTypes()
Description copied from class: Bean
The client-visible types of a bean

Specified by:
getTypes in class Bean<ManagerImpl>
Returns:
the bean types

destroy

public void destroy(ManagerImpl instance)
Description copied from interface: Contextual
Destroys an instance of the contexual type

Parameters:
instance - the insance to destroy

isSerializable

public boolean isSerializable()
Description copied from class: Bean
The serializability of a bean

Overrides:
isSerializable in class AbstractStandardBean<ManagerImpl>
Returns:
true if the bean is serializable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.