org.ops4j.pax.radman
Interface RadmanServiceManager


public interface RadmanServiceManager


Method Summary
 RadmanService getRadmanService(RadmanServiceInfo anInfo)
          Returns the radman service given the specified info.
 boolean isManaged(RadmanServiceInfo anInfo)
          Returns true if the radman service described by the info is managed by this RadmanServiceManager, false otherwise.
 RadmanServiceInfo parse(java.lang.String aParseableString)
          Returns a RadmanServiceInfo instance given the parseable string.
 java.lang.String toParsableString(RadmanServiceInfo anInfo)
          Convert the specified anInfo into a parseable string.
 

Method Detail

parse

RadmanServiceInfo parse(java.lang.String aParseableString)
                        throws java.lang.IllegalArgumentException
Returns a RadmanServiceInfo instance given the parseable string. Returns null if the string is not parseable.

Parameters:
aParseableString - The parseable string. This argument must not be null.
Returns:
The radman service info.
Throws:
java.lang.IllegalArgumentException - Thrown if the specified aParseableString is null.
Since:
0.1.0

toParsableString

java.lang.String toParsableString(RadmanServiceInfo anInfo)
                                  throws java.lang.IllegalArgumentException
Convert the specified anInfo into a parseable string.

Parameters:
anInfo - The radman service info. This argument must not be null.
Returns:
A parseable string.
Throws:
java.lang.IllegalArgumentException - Thrown if the specified anInfo is null.
Since:
0.1.0

isManaged

boolean isManaged(RadmanServiceInfo anInfo)
                  throws java.lang.IllegalArgumentException
Returns true if the radman service described by the info is managed by this RadmanServiceManager, false otherwise.

Parameters:
anInfo - The radman service information. This argument must not be null.
Returns:
A boolean indicator whether the specified info is managed by this RadmanServiceManager.
Throws:
java.lang.IllegalArgumentException - Thrown if the specified info is null.
Since:
0.1.0

getRadmanService

RadmanService getRadmanService(RadmanServiceInfo anInfo)
                               throws java.lang.IllegalArgumentException
Returns the radman service given the specified info. Returns null if the radman service can not be retrieved.

Parameters:
anInfo - The radman service info. This argument must not be null.
Returns:
The radman service given the specified info.
Throws:
java.lang.IllegalArgumentException - Thrown if the specified info argument is null.
Since:
0.1.0
See Also:
To check whether the specified {@code info} is managed by this {@code RadmanServiceManager}.


Copyright © 2008. All Rights Reserved.