|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.deployment.annotations.impl.JAnnotationResource
public class JAnnotationResource
Acts as an implementation of @Resource
annotation.
Field Summary | |
---|---|
private Resource.AuthenticationType |
authenticationType
Authentication type. |
private java.lang.String |
description
Description. |
private java.lang.String |
mappedName
mapped name. |
private java.lang.String |
name
Name. |
private boolean |
shareable
Shareable (true/false). |
private java.lang.String |
type
Type (class). |
Constructor Summary | |
---|---|
JAnnotationResource()
Constructor. Build object with default values. |
Method Summary | |
---|---|
Resource.AuthenticationType |
getAuthenticationType()
|
java.lang.String |
getDescription()
|
java.lang.String |
getMappedName()
|
java.lang.String |
getName()
|
java.lang.String |
getType()
|
boolean |
isShareable()
|
void |
setAuthenticationType(Resource.AuthenticationType authenticationType)
Sets the authentication type. |
void |
setDescription(java.lang.String description)
Sets the description. |
void |
setMappedName(java.lang.String mappedName)
Sets mapped Name. |
void |
setName(java.lang.String name)
Sets Name (resource to be looked up). |
void |
setShareable(boolean shareable)
Sets the shareable attribute (false/true). |
void |
setType(java.lang.String type)
Sets the class type of this object. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String name
private java.lang.String type
private Resource.AuthenticationType authenticationType
private boolean shareable
private java.lang.String description
private java.lang.String mappedName
Constructor Detail |
---|
public JAnnotationResource()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the given name.public Resource.AuthenticationType getAuthenticationType()
public void setAuthenticationType(Resource.AuthenticationType authenticationType)
authenticationType
- value to set.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- value to set.public boolean isShareable()
public void setShareable(boolean shareable)
shareable
- a boolean.public java.lang.String getType()
public void setType(java.lang.String type)
type
- the class value (as string format).public java.lang.String getMappedName()
public void setMappedName(java.lang.String mappedName)
mappedName
- the given mappedName.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |