public class CounterLocalServiceWrapper extends Object implements CounterLocalService, ServiceWrapper<CounterLocalService>
CounterLocalService
.CounterLocalService
Constructor and Description |
---|
CounterLocalServiceWrapper(CounterLocalService counterLocalService) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getNames() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CounterLocalService |
getWrappedService() |
long |
increment() |
long |
increment(String name) |
long |
increment(String name,
int size) |
void |
rename(String oldName,
String newName) |
void |
reset(String name) |
void |
reset(String name,
long size) |
void |
setWrappedService(CounterLocalService counterLocalService) |
public CounterLocalServiceWrapper(CounterLocalService counterLocalService)
public List<String> getNames()
getNames
in interface CounterLocalService
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CounterLocalService
public long increment()
increment
in interface CounterLocalService
public long increment(String name)
increment
in interface CounterLocalService
public long increment(String name, int size)
increment
in interface CounterLocalService
public void rename(String oldName, String newName)
rename
in interface CounterLocalService
public void reset(String name)
reset
in interface CounterLocalService
public void reset(String name, long size)
reset
in interface CounterLocalService
public CounterLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<CounterLocalService>
public void setWrappedService(CounterLocalService counterLocalService)
setWrappedService
in interface ServiceWrapper<CounterLocalService>