com.atlassian.bamboo.lingo
Class OsgiPluginKeyResolver

java.lang.Object
  extended by com.atlassian.bamboo.lingo.OsgiPluginKeyResolver
All Implemented Interfaces:
PluginKeyResolver

public class OsgiPluginKeyResolver
extends java.lang.Object
implements PluginKeyResolver

Applies OSGi hackery to resolve the plugin key.

Since:
v3.3

Field Summary
static OsgiPluginKeyResolver INSTANCE
           
 
Constructor Summary
OsgiPluginKeyResolver()
           
 
Method Summary
 java.lang.String resolve(java.lang.Object from)
          Resolve plugin key from given object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final OsgiPluginKeyResolver INSTANCE
Constructor Detail

OsgiPluginKeyResolver

public OsgiPluginKeyResolver()
Method Detail

resolve

public java.lang.String resolve(java.lang.Object from)
Description copied from interface: PluginKeyResolver
Resolve plugin key from given object.

Specified by:
resolve in interface PluginKeyResolver
Parameters:
from - object to resolve from, may be null, which must be safely handled by the resolver
Returns:
plugin key, or null, if this resolver was not able to resolve the key


Copyright © 2011 Atlassian. All Rights Reserved.