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

Instance - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.core.model.instance
Interface Instance

All Known Implementing Classes:
InstanceImpl

public interface Instance

A component instance.


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.
 Preferences getPreferences()
          Return the preferences held by the instance or null if it does not have any.
 void setComponentRef(java.lang.String componentRef)
          Set the component handle of this instance.
 

Method Detail

getId

public java.lang.String getId()
Return the id in the scope of its container.


getContainer

public InstanceContainer getContainer()
Return the container of this object.


getPreferences

public Preferences getPreferences()
Return the preferences held by the instance or null if it does not have any.

Returns:
the preferences

getComponentRef

public java.lang.String getComponentRef()
Return the handle to the component this object instantiate.

Returns:
the component ref

setComponentRef

public void setComponentRef(java.lang.String componentRef)
Set the component handle of this instance.