|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Component
The Component represents a remote interface to a runtime component type.
Method Summary | |
---|---|
ActivationPolicy |
getActivationPolicy()
Get the activation policy. |
Provider |
getProvider()
Return a provider of an instance of the component. |
boolean |
isaCandidate(Service service)
Return true if this handler is a candidate for the supplied service definition. |
boolean |
isActive()
Returns the commissioned status of the handler. |
int |
size()
Return the number of instances currently under management. |
Methods inherited from interface net.dpml.component.Commissionable |
---|
commission, decommission |
Method Detail |
---|
Provider getProvider() throws IOException, InvocationTargetException
InvocationTargetException
- if a target invocation error occurs
IOException
- if a IO error occurs
InvocationTargetException
- if a component invocation error occursboolean isaCandidate(Service service) throws RemoteException
service
- the service descriptor
RemoteException
- if a remote exception occursActivationPolicy getActivationPolicy() throws RemoteException
RemoteException
- if a remote exception occursActivationPolicy.SYSTEM
,
ActivationPolicy.STARTUP
,
ActivationPolicy.DEMAND
boolean isActive() throws RemoteException
RemoteException
- if a remote exception occursint size() throws RemoteException
RemoteException
- if a remote exception occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |