站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

Instance22Impl - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.migration.model22.impl.instance
Class Instance22Impl

java.lang.Object
  extended byorg.jboss.portal.migration.model22.impl.instance.Instance22Impl
All Implemented Interfaces:
Instance

public class Instance22Impl
extends java.lang.Object
implements Instance


Field Summary
protected  java.lang.String componentRef
           
protected  ContainerContext ctx
           
protected  java.lang.String instanceId
           
protected  java.lang.Long key
           
protected  Preferences preferences
           
protected  java.util.Map preferencesMap
           
 
Constructor Summary
Instance22Impl()
           
Instance22Impl(ContainerContext ctx, java.lang.String id)
           
 
Method Summary
 java.lang.String getComponentRef()
          Return the handle to the component this object instantiate.
 InstanceContainer getContainer()
          Return the container of this object.
 java.lang.String getId()
          Return the id in the scope of its container.
 java.lang.String getInstanceId()
           
protected  java.lang.Long getKey()
           
 Preferences getPreferences()
          Return the preferences held by the instance or null if it does not have any.
 java.util.Map getPreferencesMap()
           
 void setComponentRef(java.lang.String componentRef)
          Set the component handle of this instance.
 void setInstanceId(java.lang.String instanceId)
           
protected  void setKey(java.lang.Long key)
           
 void setPreferencesMap(java.util.Map preferences)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

protected java.lang.Long key

instanceId

protected java.lang.String instanceId

componentRef

protected java.lang.String componentRef

preferencesMap

protected java.util.Map preferencesMap

ctx

protected ContainerContext ctx

preferences

protected Preferences preferences
Constructor Detail

Instance22Impl

public Instance22Impl()

Instance22Impl

public Instance22Impl(ContainerContext ctx,
                      java.lang.String id)
Method Detail

getKey

protected java.lang.Long getKey()

setKey

protected void setKey(java.lang.Long key)

getInstanceId

public java.lang.String getInstanceId()

setInstanceId

public void setInstanceId(java.lang.String instanceId)

getPreferencesMap

public java.util.Map getPreferencesMap()

setPreferencesMap

public void setPreferencesMap(java.util.Map preferences)

getComponentRef

public java.lang.String getComponentRef()
Description copied from interface: Instance
Return the handle to the component this object instantiate.

Specified by:
getComponentRef in interface Instance
Returns:
the component ref

setComponentRef

public void setComponentRef(java.lang.String componentRef)
Description copied from interface: Instance
Set the component handle of this instance.

Specified by:
setComponentRef in interface Instance
Parameters:
componentRef - the new component handle

getId

public java.lang.String getId()
Description copied from interface: Instance
Return the id in the scope of its container.

Specified by:
getId in interface Instance

getContainer

public InstanceContainer getContainer()
Description copied from interface: Instance
Return the container of this object.

Specified by:
getContainer in interface Instance

getPreferences

public Preferences getPreferences()
Description copied from interface: Instance
Return the preferences held by the instance or null if it does not have any.

Specified by:
getPreferences in interface Instance
Returns:
the preferences