|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.plugins.jbossas5.ManagedComponentDiscoveryComponent<AbstractManagedDeploymentComponent>
org.rhq.plugins.jbossas5.Ejb2BeanDiscoveryComponent
public class Ejb2BeanDiscoveryComponent
A discovery component for EJB 1/2 beans.
| Constructor Summary | |
|---|---|
Ejb2BeanDiscoveryComponent()
|
|
| Method Summary | |
|---|---|
protected boolean |
accept(ResourceDiscoveryContext<AbstractManagedDeploymentComponent> discoveryContext,
org.jboss.managed.api.ManagedComponent component)
This method is called during ManagedComponentDiscoveryComponent.discoverResources(ResourceDiscoveryContext) to determine
whether given component that has been found in the management view by this component's configured
component type is applicable in the discovery context. |
protected String |
getResourceKey(org.jboss.managed.api.ManagedComponent component)
Return the unique resource key for the component. |
protected String |
getResourceName(org.jboss.managed.api.ManagedComponent component)
Subclasses can override this method if they don't want to use the ManagedComponent name as the initial Resource name. |
| Methods inherited from class org.rhq.plugins.jbossas5.ManagedComponentDiscoveryComponent |
|---|
discoverResources, getComponentType, getResourceVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Ejb2BeanDiscoveryComponent()
| Method Detail |
|---|
protected String getResourceKey(org.jboss.managed.api.ManagedComponent component)
ManagedComponentDiscoveryComponentManagedComponentComponent.getManagedComponent() method as well
because the return value of this method is used as the component name
(ManagedComponentComponent.getComponentName()).
getResourceKey in class ManagedComponentDiscoveryComponent<AbstractManagedDeploymentComponent>component - the component to uniquely identify
protected String getResourceName(org.jboss.managed.api.ManagedComponent component)
ManagedComponentDiscoveryComponent
getResourceName in class ManagedComponentDiscoveryComponent<AbstractManagedDeploymentComponent>component - the ManagedComponent being discovered
protected boolean accept(ResourceDiscoveryContext<AbstractManagedDeploymentComponent> discoveryContext,
org.jboss.managed.api.ManagedComponent component)
ManagedComponentDiscoveryComponentManagedComponentDiscoveryComponent.discoverResources(ResourceDiscoveryContext) to determine
whether given component that has been found in the management view by this component's configured
component type is applicable in the discovery context.
Because the Profile Service doesn't always provide the components in a hierarchy we present the resources we need this method to filter the components into their appropriate places.
This default implementation always returns true.
accept in class ManagedComponentDiscoveryComponent<AbstractManagedDeploymentComponent>discoveryContext - the current discovery contextcomponent - the discovered component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||